How can you make the display scroll? Are there any special settings needed?
The display now works perfectly, but I can't get it scrolling. The code I have is in SPIN, but you should see what I do:
repeat y from 0 to 319
lcd.exec1( lcd#CMD_CMDOUT, $6a00)
lcd.exec1( lcd#CMD_DATAOUT, 2<<8 )
waitcnt( clkfreq/100+cnt )
I send $006a as a command followed by $0002. (LSB and MSB are reversed in the code above for easier handling in the propellers assembler). Shouldn't the display scroll up 2 lines then?
The display now works perfectly, but I can't get it scrolling. The code I have is in SPIN, but you should see what I do:
repeat y from 0 to 319
lcd.exec1( lcd#CMD_CMDOUT, $6a00)
lcd.exec1( lcd#CMD_DATAOUT, 2<<8 )
waitcnt( clkfreq/100+cnt )
I send $006a as a command followed by $0002. (LSB and MSB are reversed in the code above for easier handling in the propellers assembler). Shouldn't the display scroll up 2 lines then?
Looking for additional LCD resources? Check out our LCD blog for the latest developments in LCD technology.