firmata / ConfigurableFirmata

A plugin-based version of Firmata
GNU Lesser General Public License v2.1
152 stars 71 forks source link

firmdata client on ready never fire? #85

Open wyx2000 opened 5 years ago

wyx2000 commented 5 years ago

I started with RCSwitchFirmata, could not get it work. I think I should test ConfigurableFirmata first. So I upload ConfigurableFirmata to my UNO, and use a client code with firmata lib like below: `var firmata = require('firmata'); var board = new firmata.Board('COM4', function () { console.log('ready!') });

board.on("ready", function() { const a = 6; const b = 7; ..... ` neither ready above fires. But if I try it with the StandardFirmata code, it works fine.

Any idea? Is there special client side code for ConfigurableFirmata ?

Thanks

soundanalogous commented 5 years ago

Which classes did you include in your ConfigurableFirmata sketch file? If you include too many it's possible there is not enough memory on the Uno and the program will crash silently.

git-developer commented 5 years ago

This issue has probably been solved in RCSwitchFirmata #2 and RCSwitchFirmata #3.