Welcome!
![]() (to Pascal language fans too!) Technical
Other stuff
Search
Downloads
The last 5 downloads
The last 5 most downloaded
|
Tips - How to check that only one button is pressed?
The deal: If several push buttons are connected say, to PORTA, what is the best way to check that there is only one button pressed? Here is an assembler suggestion (a snippet from Scott Dattalo):
MOVF PORTA,W Great isn't it?
Temp := PORTA and BUTTON_MASK;
Creation date : 2009.03.27 5:43 PM ![]()
| Connection...
![]() [ Password lost ? ] [ Join us ] ![]() ![]() ![]() Most ever online
![]() The 01/12/2024 @ 13:20 Webmaster - Infos
Ip: 18.97.9.169 Search
Friends News
Where are you from?
|