How can I format data(integer) as binary and send to LCD or RS232?
For example I have
byte tmp;
tmp=0b00001111;
and I want to show it on LCD as 00001111 not as \%U=15 or \%X=F
Thanks for help
___________________________
This message was ported from CCS's old forum
Original Post ID: 13651
R.J.Hamlett Guest
Re: How Printf data as binary?
Posted: Mon Apr 14, 2003 4:52 am
:=How can I format data(integer) as binary and send to LCD or RS232?
:=For example I have
:=byte tmp;
:=tmp=0b00001111;
:=and I want to show it on LCD as 00001111 not as \%U=15 or \%X=F
:=
:=Thanks for help
DIY.
So many different possible solutions, with varying degrees of speed/ROM overheads. Something like:
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum