arduino
arduino copied to clipboard
output declaration not working?
first off, nice job putting this together... great idea.
Everything seems to work, except the LED's I plug into the output pins are extremely dim when turned On.... from past experience, I traced this back to the fact that each pin is not properly being declared as an OUTPUT in the setup. That is, each pin registers a signal as it should, but without enough current to do anything.
I am using the sample code from the example posted here... and simply changing the output from pin 13 to pin 12, yields the results mentioned above.
I verified this by manually declaring the output pins I intended to use in the Arduino.pde file setup() function, and then resumed the ruby code as normal and everything worked as it should (LED's very bright).
Can anyone shed some light into how the pins are declared? I would like to help fix this issue.
Thanks, JD
I'll look into this issue in a few hours. On road now.
did you ever get to looking into this? i ran into the same problem but only just started with arduino so i don't quite get the setupPins function yet :)
johndavid you are a savior and a saint!