| ??? 08/03/03 18:31 Read: times |
#52016 - RE: bintohex algorithm ? Responding to: ???'s previous message |
Since you are too lazy to capitalize and spell correctly (e.g., "cpl", "coz"), I won't say what all is wrong with your routine, but will simply offer this:
void bintodec(byte bth)
{
serial[2] = bth % 10 + '0';
bth /= 10;
serial[1] = bth % 10 + '0';
bth /= 10;
serial[0] = bth '0';
}
|
| Topic | Author | Date |
| bintohex algorithm ? | 01/01/70 00:00 | |
| RE: bintohex algorithm ? | 01/01/70 00:00 | |
| RE: bintohex algorithm ? | 01/01/70 00:00 | |
| RE: bintohex algorithm ? | 01/01/70 00:00 | |
| RE: bintohex algorithm ? | 01/01/70 00:00 | |
| RE: bintohex algorithm ? | 01/01/70 00:00 | |
| I AM AMAZED | 01/01/70 00:00 | |
| RE: I AM AMAZED | 01/01/70 00:00 | |
RE: I AM AMAZED | 01/01/70 00:00 |



