this is all :
Config Lcdpin = Pin , port = PORTa , E = portb.0 , Rs = portb.1
Config Lcd = 16 * 2 , Chipset = Dogm162v5
of course change for your ports and pins.
$lcd = &HC000
and
$lcdrs = &H8000
these are when using bus mode which means with an address decoder. only m128 and some others support XRAM/bus mode
when having a problem make sure that all pins you use really work. so toggle them one by one and see if they change state.
also make sure WR is tied to ground.
↧