arduino
arduino copied to clipboard
A ruby library to talk to Arduino without having to burn programs repeatedly to the board
Windows 10 x64 (x32 ruby) Arduino Uno When loading the example script, the program blocks when trying to execute `board.output(13)` (Because I'm on Windows, I had to change the connecting...
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...
two changes. 1) updated to only use binary communication over the serial port. 2) Added the ability to look for digital inputs. And added a sample program to show how...
I set up a potentiometer on pin 0. When I try to get it's value, analogRead returns an empty string. ``` ruby board.analogRead(0) #=> "" ```
Tried to set this up using your example, the script seems to hang during setting the output pin. # board.output(13)
It's a terrible idea to write USB or other port manually, it can be changed or mistyped, so my suggestion is to add some class that calls inside of the...