From 70dfb309a8bd1084aa1c307b0bf359ade2264500 Mon Sep 17 00:00:00 2001 From: Jules Gantenbein Date: Sun, 26 Oct 2014 03:49:29 +1100 Subject: [PATCH] Update README.md example didnt set the pinmode for pin 13 before attempting to write values to it --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index fd32c46..07095ab 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,7 @@ from Arduino import Arduino import time board = Arduino('9600') #plugged in via USB, serial com at rate 9600 +board.pinMode(13, "OUTPUT") while True: board.digitalWrite(13, "LOW")