jruibarroso
Joined: 07 Jan 2006 Posts: 64 Location: Braga
|
doubt about output_B |
Posted: Mon Dec 03, 2007 6:28 am |
|
|
I'm trying to output a decimal value on port B with this seconds counter
output_b(sec);
but it output a hexadecimal value , ex:
after x09 then comes x10, then x11, then x12 that represents an A,B,C etc.
after a x09 i would need a x16, i think to result on a number 10 (decimal)
I need a decimal value on each group of 4 bits (RB0,B1,B2,B3) Units and more 4 bits (RB4,B5,B6,B7) 10tns.
Any help please, thank you all |
|