| ??? 02/15/00 12:03 Read: times |
#1505 - RE: keypad |
> i only can read the entire port and
> not only p10 trought p14 [snip] > anyone knows how can i read the value > for only 5 bits occupied for the > keypad? It's a plain ANSI C, so your question in an 8052-dedicated board is quite offtopic. Anyway, the syntax is simple: switch (P1 & 0x1F) { case 0x01: {...} -- Tomas |
| Topic | Author | Date |
| keypad | 01/01/70 00:00 | |
| RE: keypad | 01/01/70 00:00 | |
| RE: keypad | 01/01/70 00:00 | |
| RE: keypad | 01/01/70 00:00 | |
| RE: keypad | 01/01/70 00:00 | |
| RE: keypad | 01/01/70 00:00 | |
RE: keypad | 01/01/70 00:00 |



