-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathappconfig.js
More file actions
17 lines (17 loc) · 811 Bytes
/
appconfig.js
File metadata and controls
17 lines (17 loc) · 811 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
module.exports = {
webServerPort: 80,
socketServerPort: 8082,
//using this so i can run this code on my mac and not trigger the gpio stuff.
mockBot: {
setup: function(){ console.log('mock setup', arguments) },
setGPIO: function(){ console.log('mock setGPIO', arguments) },
getGPIO: function(){ console.log('mock getGPIO', arguments) },
setMotor: function(){ console.log('mock setMotor', arguments) },
getMotor: function(){ console.log('mock getMotor', arguments) },
setLED: function(){ console.log('mock setLED', arguments) },
getLED: function(){ console.log('mock getLED', arguments) },
getOC: function(){ console.log('mock getOC', arguments) },
setOC: function(){ console.log('mock setOC', arguments) },
setSwitchCallback: function(){ console.log('mock setSwitch') }
}
};