Update README.md

example didnt set the pinmode for pin 13 before attempting to write values to it
This commit is contained in:
Jules Gantenbein
2014-10-26 03:49:29 +11:00
parent afca563e50
commit 70dfb309a8

View File

@@ -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")