Skip to content

Commit

Permalink
Add analog read example to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
fenichelar committed Jul 1, 2016
1 parent 77a220c commit 295e838
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,11 @@ Get value (HIGH/LOW)
myPin.getValue();
~~~~~~~~~~~~~

Get analog value (0-1023)
~~~~~~~~~~~~~{.cpp}
myPin.getAnalogValue();
~~~~~~~~~~~~~

## Toggle
Toggle mode (OUTPUT -> INPUT, INPUT -> OUTPUT)
~~~~~~~~~~~~~{.cpp}
Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=Pin
version=2.4.0
version=2.4.1
author=Alec Fenichel <[email protected]>
maintainer=Alec Fenichel <[email protected]>
sentence=An easy to use Arduino library for fast digital I/O using port manipulation.
Expand Down

0 comments on commit 295e838

Please sign in to comment.