??? 10/28/08 05:25 Read: times |
#159391 - your task Responding to: ???'s previous message |
How to solve? You have to convert a binary value to BCD before sending it out.
What work have you currently done to figure out how to convert from binary to BCD? If you have a binary value, you must first figure out how to split that value into multiple decimal values in the range 0..9. Two such decimal values can then be stored in the same byte as BCD by shifting one decimal digit four bits to the left. But once a gain: Exactly what have you done to break your problem down into steps and then finding solutions to the individual steps and finally produce code for the steps? Note that one alternative when computing pulses is to never produce a binary value, but to perform the counting in decimal or in BCD. What are your view on this? |
Topic | Author | Date |
tachometer | 01/01/70 00:00 | |
schematic, please | 01/01/70 00:00 | |
Datasheet? | 01/01/70 00:00 | |
reply to tachometer | 01/01/70 00:00 | |
Resistor to processor too. | 01/01/70 00:00 | |
the schematic is | 01/01/70 00:00 | |
Limitation of base current to 2N2222? | 01/01/70 00:00 | |
in effect | 01/01/70 00:00 | |
another option | 01/01/70 00:00 | |
What is your part in this assignment? | 01/01/70 00:00 | |
thanks | 01/01/70 00:00 | |
Don't panic | 01/01/70 00:00 | |
RE: dont have enough knowledge on microcontrollers | 01/01/70 00:00 | |
CODE | 01/01/70 00:00 | |
expecting a reply now | 01/01/70 00:00 | |
Not BCD! | 01/01/70 00:00 | |
how to solve? | 01/01/70 00:00 | |
your task | 01/01/70 00:00 | |
trying!! | 01/01/70 00:00 | |
not found !!!! | 01/01/70 00:00 | |
Trivial solution: compare/subtract | 01/01/70 00:00 | |
thanks a lot!!! | 01/01/70 00:00 | |
google or paper and pen | 01/01/70 00:00 | |
something weird | 01/01/70 00:00 | |
treading dangerous waters | 01/01/70 00:00 | |
Nothing weird![]() | 01/01/70 00:00 |