bromagosa / Snap4Arduino

Binding Snap! and Arduino together
http://snap4arduino.rocks
GNU Affero General Public License v3.0
134 stars 85 forks source link

NeoPixels without Internet Connectivity #292

Closed PJ789 closed 4 years ago

PJ789 commented 4 years ago

I ran a kids workshop lately, using Snap4Arduio as a teaching tool.

The prep was all done on a laptop hooked up to the net, and the NeoPixels blocks worked fine with NeoPixels firmata on the Arduino.

However course was delivered on laptops that had no internet connectivity, and each one of the dozen machines couldn't control the NeoPixels.

Myself & colleagues suspect the NeoPixels blocks require an internet connection to function.

Is it possible to remove this dependency so that offline use is possible?

PJ789 commented 4 years ago

I have looked at /Snap4Arduino/master/src/libraries/NeoPixel.xml but I can't see anything obvious there.

PJ789 commented 4 years ago

Just tried to reproduce the issue ... and its all fine on my day to day PC, even without internet connectivity. I can only guess that the Arduinos didn't have the right firmata... or... there is some additional dependency that I must have overlooked when copying the demo code I had prepared to the workshop machines. Apologies for any inconvenience. If it happens again I will try to get screenshots & better diagnostic info.

PJ789 commented 4 years ago

Closed. Can't reproduce.

PJ789 commented 4 years ago

Can confirm, it was a case of "error in user module".

Wrong pin number in the demo code on the workshop machines.