??? 08/13/08 09:04 Read: times |
#157458 - good idea... Responding to: ???'s previous message |
thank everyone for replying...
seems like it will make it difficult to convert back to decimal. so maybe its ok to display in hex...since it only take 5 bytes rather than 6 bytes with decimal.. i probably going to write in asembly since i studied about it for past few days and hardly know to write in c.. maybe i'm going to use gopal amlekar suggestion num 3 since i'm not really understand on how to work with interupt pin or counter pin... i get the idea on scanning the port pin for pulses, but then what can i do to organize the data? say scan: jnb p1.1,scan jb p1.1,increment; detect pulse then go to increase number how to increase the number in the memory? so each time pulse detected, then line will add value to current value rite? mov r1,01h mov a,01h add a,r1 mov r2,a is that how to do? how to transfer for next byte? |
Topic | Author | Date |
pulse counter with lcd | 01/01/70 00:00 | |
Re: pulse counter with lcd | 01/01/70 00:00 | |
5 memory locations? | 01/01/70 00:00 | |
Re: pulse counter with lcd | 01/01/70 00:00 | |
counting pules | 01/01/70 00:00 | |
Definitely use hardware if available | 01/01/70 00:00 | |
HUH? | 01/01/70 00:00 | |
All depends on language capabilities | 01/01/70 00:00 | |
good idea... | 01/01/70 00:00 | |
Bad choices![]() | 01/01/70 00:00 |