hi all again,
i see that a lot of you having problem to write on the nokia lcd using the pic16f628a.
i'm also stragling to do it and i havent been able to fix my problems.
i'm trying to use the following files from the page http://www.picbasic.co.uk/forum/cont...Nokia-3310-LCD but no luck.
a very simple code i'm trying to display is the following.
i will post later on the full code using the pic16f628a. It is seems that is been compiled but i dont see anything on the screen. I have checked connection and everything is ok.Code:DEFINE OSC 4 @ DEVICE pic16F628A, INTRC_OSC, WDT_OFF, PWRT_OFF, BOD_OFF, MCLR_ON, LVP_OFF, CPD_OFF, PROTECT_OFF include "modedefs.bas" include "LCD_3310.pbp" TRISB = %00011100 'portB configuration 0=out 1=in TRISA = %10100000 'portA configuration PortA = %11100000 CMCON = 7 VRCON = 0 INTCON = 0 OPTION_REG=%00000111 'weak pullups on, TMRO prescale = 256 Lcd_DC var PortB.0 Lcd_SDA var PortA.3 Lcd_RST var PortA.4 Lcd_CLK var PortA.2 start: @ PrintStr 0,0, "I love being" @ PrintStr 0,1, "able to print " @ PrintStr 0,2, "so easily!" goto start
I have also checked the nokia lcd with a circuit that work and didnt see a problem.
Bookmarks