Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 70dfb30

Browse files
committed
Update README.md
example didnt set the pinmode for pin 13 before attempting to write values to it
1 parent afca563 commit 70dfb30

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ from Arduino import Arduino
2424
import time
2525

2626
board = Arduino('9600') #plugged in via USB, serial com at rate 9600
27+
board.pinMode(13, "OUTPUT")
2728

2829
while True:
2930
board.digitalWrite(13, "LOW")

0 commit comments

Comments
 (0)