Hello,
Having a problem getting this to do what I wantI have a lcd2041.Looked through the pdf then looked at the forum for the basic stamp ,they use alot of the same commands but in this case it does not seem to work.Here is some of waht I had tried:
Device 12f629
set_osccal 'Set the osccal value from the last location in program memory
config intrc_osc_noclkout, WDT_Off, PWRTE_ON, CP_OFF, MCLRE_OFF,CPD_OFF,BODEN_ON
'-------------------------------------------------------------------------------
dim led as gpio.4
ALL_DIGITAL = TRUE
DECLARE SERIAL_BAUD 9600
DECLARE RSOUT_PIN gpio.5
DECLARE RSOUT_PACE 100
delayms 1000
start:
RSOUT AT 1,1, "blah blahY"
delayms 2000
RSOUT AT 1,1, $FE ,$88
delayms 1000
high led
delayms 5000
low led
goto start
I cannot get it to print to another line until it fills line one either
If you would like to try it get the demo below
http://www.picbasic.org/wheretobuy.php?id=protonds
Any Ideas
Thanks Stan
Proton Development Suite
Why
I found a post thst shows how to to do it in Ic2 ,but it works in serial too, now my question is why, here is the line my question is on, one command, the first one it will not work without it $45:
rsout at $45,$FE,$FE,$58
ANY ANSWERS,
Stan
\
rsout at $45,$FE,$FE,$58
ANY ANSWERS,
Stan
\
The 0x45 is the I2C address of the display.
I found a post thst shows how to to do it in Ic2 ,but it works in serial too, now my question is why, here is the line my question is on, one command, the first one it will not work without it $45:
rsout at $45,$FE,$FE,$58
For more information on interfacing via I2C with a MO display, please refer to http://www.lcdforums.com/forums/viewtopic.php?t=910 . That is a guide for communication via I2C.
Best Regards,
