You are here: Home FORUM Support LCD_Hex Function and Word data

nqBASIC

  :: Support
Welcome Guest   [Register]  [Login]
 Subject :LCD_Hex Function and Word data.. 02-06-2010 07:58:41 
DaveD
Joined: 02-06-2010 10:42:56
Posts: 5
Location

Hi all,

Perhaps a dumb question but the docs and examples haven't provided an answer. I'm trying to output the result of 10 bit A/D conversions to the LCD. If I use LCD_Decimal, it works fine. If I use LCD_Hex, it doesn't output the value of the high byte in the word. I've also tried created a word length constant and sending it to the LCD; same result - decimal output is fine, hex does not show high byte. I am using FILLUP_ZERO in each case.

Any thoughts?

Thanks,

Dave

IP Logged
 Subject :Re:LCD_Hex Function and Word data.. 08-06-2010 11:25:00 
DaveD
Joined: 02-06-2010 10:42:56
Posts: 5
Location

Some more info on the problem. The attached .zip has some test code for the configuration that I'm using. It appears that LCD_Hex can only be used for word output once in a program, any more than once and the word output fails for every use.



Attachments
 lcdtest.zip [2 KB]
IP Logged
Page # 


Powered by ccBoard