Go to advanced search

by gurudattakr123
Wed Apr 19, 2017 6:15 pm
Forum: Teaching and learning resources
Topic: Speed sensor calculation using Python
Replies: 19
Views: 33756

Re: Speed sensor calculation using Python

How can we change this code so that rpm and kmph must come back to 0 when wheel is not rotating?
by gurudattakr123
Fri Mar 17, 2017 5:03 pm
Forum: Automation, sensing and robotics
Topic: TUTORIAL: How to get a button working with the Pi!
Replies: 14
Views: 33192

Re: TUTORIAL: How to get a button working with the Pi!

I am using 3 buttons for three different functions. For example, when i press 1st button it must display 1st button, for 2nd it must display 2nd etc. Help me with this. I am new to python. from gpiozero import Button import RPi.GPIO as GPIO GPIO.setmode(GPIO.BCM) button1=17 button2=27 button3=22 GPI...

Go to advanced search