I've gotten this code to compile, but it never stops when the bit is set high. Can anyone point out my error?
Code: Select all
program LCD_Test
dim text as char[20]
main:
DDRB=$00
Lcd_Init(PORTA,3,2,PORTA,LCD_HI_NIBBLE)
Lcd_Cmd(LCD_CURSOR_OFF)
text= "TEST"
Lcd_Out(1,1,text)
while true
PORTB.7 = 0
Delay_ms(1000)
Lcd_Cmd(LCD_SHIFT_RIGHT)
wend
end.