Go to advanced search

by iphoneturn
Thu Jul 28, 2016 1:13 am
Forum: Python
Topic: Keyboard input to GPIO output
Replies: 8
Views: 1805

Re: Keyboard input to GPIO output

Hi @joan, it is the first one. :D
by iphoneturn
Wed Jul 27, 2016 1:20 pm
Forum: Python
Topic: Keyboard input to GPIO output
Replies: 8
Views: 1805

Re: Keyboard input to GPIO output

My goal here is when I press "a" key for 1 second, GPIO 5 will be set to "HIGH" for 1 second and then go to "LOW". :)
by iphoneturn
Wed Jul 27, 2016 9:04 am
Forum: Python
Topic: Keyboard input to GPIO output
Replies: 8
Views: 1805

Keyboard input to GPIO output

Hi, I just made a RC car powered by a Raspberry Pi and a L293N dual h-bridge motor driver and I plan to control it with a 2.4 GHz keyboard but I can't get my code to run. Here is my code: GPIO.setup(5, GPIO ,OUT) GPIO.setup(6, GPIO ,OUT) GPIO.setup(13, GPIO ,OUT) GPIO.setup(19, GPIO ,OUT) str = raw_...

Go to advanced search