| ??? 04/24/03 12:08 Read: times |
#44118 - RE: 8051 & push buttons/switches Responding to: ???'s previous message |
connect one terminal of the switch to +5v the other end to the uc and one end of a 10k resistor. connect the other end of the resistor to ground.
... and create a derivative dependent functionality. This will (probably) work on derivatives where the internal pull-up is large enough, on some others it will always read '1'. Erik |
| Topic | Author | Date |
| 8051 & push buttons/switches | 01/01/70 00:00 | |
| RE: 8051 & push buttons/switches | 01/01/70 00:00 | |
| RE: 8051 & push buttons/switches | 01/01/70 00:00 | |
| RE: 8051 & push buttons/switches | 01/01/70 00:00 | |
| RE: 8051 & push buttons/switches | 01/01/70 00:00 | |
| RE: 8051 & push buttons/switches | 01/01/70 00:00 | |
| RE: 8051 & push buttons/switches | 01/01/70 00:00 | |
| RE: 8051 & Active low inputs | 01/01/70 00:00 | |
| RE: 8051 & push buttons/switches | 01/01/70 00:00 | |
| RE: 8051 & push buttons/switches | 01/01/70 00:00 | |
RE: 8051 & push buttons/switches | 01/01/70 00:00 |



