Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

firmdata client on ready never fire? #85

Open
wyx2000 opened this issue Nov 6, 2018 · 2 comments
Open

firmdata client on ready never fire? #85

wyx2000 opened this issue Nov 6, 2018 · 2 comments

Comments

@wyx2000
Copy link

wyx2000 commented Nov 6, 2018

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
Copy link
Member

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants