| ??? 07/23/01 08:59 Read: times |
#13405 - RE: How to use 8 sensors on 8051 ports |
If your sensor gives a '1' at the port input pin when a car is detected, how about something like: count0 += P0.0; count1 += P0.1; count2 += P0.2; etc(that's kinda pseudocode; adapt as appropriate to the syntax of your particular language & implementation) |
| Topic | Author | Date |
| How to use 8 sensors on 8051 ports | 01/01/70 00:00 | |
| RE: How to use 8 sensors on 8051 ports | 01/01/70 00:00 | |
| RE: How to use 8 sensors on 8051 ports | 01/01/70 00:00 | |
| RE: How to use 8 sensors on 8051 ports | 01/01/70 00:00 | |
| RE: How to use 8 sensors on 8051 ports | 01/01/70 00:00 | |
| RE: How to use 8 sensors on 8051 ports | 01/01/70 00:00 | |
| RE: How to use 8 sensors on 8051 ports | 01/01/70 00:00 | |
RE: How to use 8 sensors on 8051 ports | 01/01/70 00:00 |



