Thanks Steve,
i didnt have a time yesterday to play with, because i came back home from work and was very tired. Apart from that, during the day i will post the code. Actually i have post the code before. It is very simple. I just wanted to use the @ print command with pic16f628a.
Gusse said to use the traditional way to print a string but i didnt have a time to do it.
this is my code:
Code:
DEFINE OSC 4
@ DEVICE pic16F628A, intOSC_osc_noclkout, WDT_OFF, PWRT_OFF, BOD_OFF, MCLR_ON
include "modedefs.bas"
include "3310.inc"
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
start:
@ PrintStr 0,0, "I love being"
@ PrintStr 0,1, "able to print "
@ PrintStr 0,2, "so easily!"
goto start
The version of the INC file i use is the last one from that page.
http://www.picbasic.co.uk/forum/cont...Nokia-3310-LCD
Regards,
if you get the LCD, and you find the way, i will be much appreciated to see your work.
I just want to print somehow letters (or a small image as DATA) using any small pic like 16f628 or 16f88 or smaller.
My project is to print the value (number of the RFID TAG) using the nokia 5110 lcd.
I have done this project using 2x16 lcd and the uLCD 128x128 from 4D systems. That was easy because both of the displays have parallel and serial interfaces, and for 2x16 picbasicpro has a library for them.
Regards,
Bookmarks