Hello Guru’s,
First and foremost I genuinely hope all are safe and well and are coping with the current global corona virus pandemic. PLEASE! Look after yourselves and each other during this critical time.
Now that I have that out of the way...
Guy/Gals, I want to display a 10bit WORD variable as individual BYTE variables.
Such as:
W0=1016
to become:
B2=1
B3=0
B4=1
B5=6
to be able to:
sertxd(“Number= “,#B2,#B3,#B4,#B5)
The reason I want to do this is because I am working with a 2004A 20X4 LCD with I2C interface from banggood.
After scouring through the forum notes on info regarding use of these displays with PICAXE, I just still don’t quite get it no matter how many times I read other forum posts.
I do now however have some of Hippy’s sample code from previous forum threads working fine. The only problem is the code offered only sends single BYTES one at a time and I would like to display a 4 digit WORD value derived from READADC10.
Further to this, it’d be nice if I could write text on one line to be sent.
I think this will be a pretty simple thing to do, but lately my brain is melting with so many I am currently working on.
Kind regards,
Mort.
First and foremost I genuinely hope all are safe and well and are coping with the current global corona virus pandemic. PLEASE! Look after yourselves and each other during this critical time.
Now that I have that out of the way...
Guy/Gals, I want to display a 10bit WORD variable as individual BYTE variables.
Such as:
W0=1016
to become:
B2=1
B3=0
B4=1
B5=6
to be able to:
sertxd(“Number= “,#B2,#B3,#B4,#B5)
The reason I want to do this is because I am working with a 2004A 20X4 LCD with I2C interface from banggood.
After scouring through the forum notes on info regarding use of these displays with PICAXE, I just still don’t quite get it no matter how many times I read other forum posts.
I do now however have some of Hippy’s sample code from previous forum threads working fine. The only problem is the code offered only sends single BYTES one at a time and I would like to display a 4 digit WORD value derived from READADC10.
Further to this, it’d be nice if I could write text on one line to be sent.
I think this will be a pretty simple thing to do, but lately my brain is melting with so many I am currently working on.
Kind regards,
Mort.