This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DATABASE_PASSWORD=password | |
RABBIT_PASSWORD=password | |
SERVICE_TOKEN=password | |
SERVICE_PASSWORD=password | |
ADMIN_PASSWORD=password | |
disable_service cinder | |
disable_all_services | |
enable_service key mysql s-proxy s-object s-container s-account | |
SWIFT_HASH=stack |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var firmata = require('firmata'); | |
var board = new firmata.Board('/dev/cu.usbserial-A600491U',function(){ | |
console.log('Connected to Arduino'); | |
console.log('Firmware: ' + board.firmware.name + | |
'-' + board.firmware.version.major + | |
'.' + board.firmware.version.minor); | |
console.log('Enabling motor 1'); | |
board.pinMode(4, board.MODES.OUTPUT); | |
setInterval(function(){ | |
board.digitalWrite(4, board.HIGH); |