Skip to content

Commit

Permalink
Edited readme.md via GitHub
Browse files Browse the repository at this point in the history
  • Loading branch information
jgautier committed Mar 29, 2011
1 parent 4897f8d commit 7c22fd0
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,14 @@ Arduino running firmata (tested with v2.2)
View test folder for examples.
#Methods:
*board.digitalWrite(pin,value)*

Write an output to a digital pin. pin is the number of the pin and the value is either board.HIGH or board.LOW
*board.pinMode(pin,state)*

*board.pinMode(pin,state)*
Set a mode for a pin. pin is the number of the pin and state is one of the following. board.INPUT, board.OUTPUT, board.PWM
*board.analogWrite(pin,value)*

*board.analogWrite(pin,value)*
Write an output to a digital pin. pin is the number of the pin and the value is between 0 and 255.
*board.analogRead(pin,callback)*

*board.analogRead(pin,callback)*
Read an input for an analog pin. Every time there is data on the pin the callback will be fired.

0 comments on commit 7c22fd0

Please sign in to comment.