??? 08/24/07 07:35 Read: times |
#143578 - look up tabel Responding to: ???'s previous message |
sorry if my explain is not complete...
this program want to control the speed of motor.... so I use a shaft encoder..the shaft encoder is connect to INT0 and INT1 because I use 2 motors... I want to know how long the interupt happen by the value of TH and TL.. if TH and TL not same with REF_KA_H and REF_KA_L, then I have to increase or decrease the voltage of motor... I want to ask this program below: REF_KA: DB <hi-0>, <lo-0> ; 16 bits for value 0 <hi-1>, <lo-1> ; 16 bits for value 1 <hi-2>, <lo-2> ; 16 bits for value 2 <>etc with this program I can get 8 bits for <hi-0> and 8 bits for <lo-0>..is that right?? |
Topic | Author | Date |
look up tabe | 01/01/70 00:00 | |
Structure ok, program doesn't make sense | 01/01/70 00:00 | |
Wrong tags! | 01/01/70 00:00 | |
look up tabel | 01/01/70 00:00 | |
Table | 01/01/70 00:00 | |
get 8 bit from look up table.. | 01/01/70 00:00 | |
Check you assembler syntax! | 01/01/70 00:00 | |
I know... | 01/01/70 00:00 | |
RTFM! | 01/01/70 00:00 | |
Characters - surely not?! | 01/01/70 00:00 | |
Thanks guys....![]() | 01/01/70 00:00 |