Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
JFDuval said:Hello!
Code:if (config == shift) { //shift display LCDrs = 0; LCDdata = 0b00011000; wait; LCDenable = 1; wait; LCDenable = 0; wait; }
Pommie said:If you have text displayed and you are using assembler, then you must understand how to send commands to the display. To scroll the display left send the command 18h (Binary 00011000) and to scroll right send 1Ch (00011100).
JFDuval is basically saying the same thing but appears to be using a basic interpreter.
HTH
Mike.
Pommie said:JFDuval is basically saying the same thing but appears to be using a basic interpreter.
movlw b'00101000' ;#5 Function set
movwf temp_wr
rcall i_write
movlw b'00010000' ;#7 Cursor and Shift control
movwf temp_wr
rcall i_write
do i need to add in anything like delay or loop? coz read some of the website saying about this but not too sure...