Rpi has internal pull-up/down resistors, set by software. The safest way to wire the button is to set the resisors as pull-up, and then connect the gpio pin to ground with the button. Do the same with encodersÂ….connect the center to ground.
You can still get contacT bounce, but the software has debounce timers in the setup. piCorePlayer a small player for the Raspberry Pi in RAM. Homepage: https://www.picoreplayer.org Please 'donate' (https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=U7JHY5WYHCNRU&lc=GB¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted) if you like the piCorePlayer ------------------------------------------------------------------------ paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858 View this thread: http://forums.slimdevices.com/showthread.php?t=107001
_______________________________________________ diy mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/diy
