-
Notifications
You must be signed in to change notification settings - Fork 516
Add support for Arduino Zero #227
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
Conversation
This is going to push out the v2.5 release at least a week while I wait for my Zero board to arrive. |
Can you link to the Zero you ordered? I don't want to order the wrong thing again. |
I ordered direct from arduino.cc: http://store-usa.arduino.cc/products/abx00003 |
Zero does not seem to be very stable yet. I'm seeing strange issues like digital input pins no longer working when a digital output pin is toggled on the same port. Need to do more experimentation outside of Firmata to better understand the root of the issues. |
Zero does not like this: https://github.com/firmata/arduino/blob/master/examples/StandardFirmata/StandardFirmata.ino#L266. Commenting out that line will enable digital input. However it still does not solve all problems I'm seeing. |
Issue with Zero per previous comment is describe here: #231 |
Turns out for Zero, internal pull-ups can only be set by setting the pinMode to INPUT_PULLUP so the last commit does not help the Zero situation since writing HIGH to an input pin will not enable internal pull ups on Zero (but will for all non SAMD boards). |
Fixed internal pull-up issue in last commit. |
Add support for Arduino Zero
You will need an official Arduino Pro Zero board. Do not get an M0 Pro board, that will not work with Firmata.
In order to use, you'll have to make sure the Servo library is at least version 1.1.0. Follow these instructions:
TODO:
systemResetCallback