Permalink
Browse files

Avoid macros in the example in the README

  • Loading branch information...
1 parent 02ab3c8 commit 4c42c1ddf0eb2947dd74847164ae0fe0df28cbeb @klajo committed Oct 9, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.md
View
4 README.md
@@ -24,8 +24,8 @@ useful constants (matches those of WiringPi):
Then you can start setting up the [pins][4] and use them:
Pin = 7,
- wpi:pin_mode(Pin, ?WPI_OUTPUT),
- wpi:digital_write(Pin, ?WPI_HIGH),
+ wpi:pin_mode(Pin, output),
+ wpi:digital_write(Pin, 1),
It helps setting the ERL_LIBS environment variable to tell Erlang
where to find the code. Assuming you have a copy of the `wpi`

0 comments on commit 4c42c1d

Please sign in to comment.