Hi there,
IF you are using
and it is displaying 6 on your LCD screen it essensially means that it is definately not a 6 but an ASCII representation of 6 which is decimal 54. So check it out.Code:LCDOUT, array[1]
IF you are using
then it is a "6" and something else makes your port high. Why not include an else in your IF-ENDIF routine that turns of the bit when it is not greater than 6.Code:LCDOUT, DECarray[1]
As I always yell on this forum that a more bit of code is needed. For example how are you transferring values or getting values into an array. If by serial in and hyperterminal then it is definately "ASCII"
Bookmarks