Open microspace opened 9 years ago
I get this error when I run node-red. Error refer to this line of code https://github.com/monteslu/node-red-contrib-gpio/blob/master/lib/nodebotNode.js#L65 This means can't create boardModule class. This can be fro two reasons 1) something wrong with galileo-io 2) n.boardType is empty
boardModule
I've tried to blink the led using galileo-io example from here https://github.com/rwaldron/galileo-io/blob/master/eg/blink.js It is working. I think this means that problem is not with galileo-io lib. Here is console.log for n:
n
n.boardType{ id: '9d57e2eb.62a82', type: 'nodebot', name: '', username: '', password: '', boardType: 'firmata', serialportName: '/dev/USBTTY1', connectionType: 'local', mqttServer: '', pubTopic: '', subTopic: '', tcpHost: '', tcpPort: '', sparkId: '', sparkToken: '', beanId: '', impId: '' }
boardtype is always 'firmata' and doesn't change whatever board I select.
I get this error when I run node-red. Error refer to this line of code https://github.com/monteslu/node-red-contrib-gpio/blob/master/lib/nodebotNode.js#L65 This means can't create
boardModule
class. This can be fro two reasons 1) something wrong with galileo-io 2) n.boardType is emptyI've tried to blink the led using galileo-io example from here https://github.com/rwaldron/galileo-io/blob/master/eg/blink.js It is working. I think this means that problem is not with galileo-io lib. Here is console.log for
n
:boardtype is always 'firmata' and doesn't change whatever board I select.