She drives me crazzy ! Don't work ; still "fleas"... verry disappointed... I have now five display useless...
She drives me crazzy ! Don't work ; still "fleas"... verry disappointed... I have now five display useless...
Here : http://www.edaboard.com/ftopic324477.html&usg , I find something interesting...
So, somebody is selling fake 3310 LCD displays, that are actually with 102*80 controllers. Nice practical joke!
I bet that those aren't made by Philips, Samsung or Seiko Epson.
BR,
-Gusse-
Last edited by Gusse; - 26th April 2010 at 03:20. Reason: Typo corrections
Hi Fratello,
Try this one. It will change row after it has cleared 84 pixels. Old version changed row also after 84, but if you have 102 pixels per row then 502 positions are not enough.
orCode:<code><font color="#000000">Lcd_Data <b>VAR BYTE </b>Cursor <b>VAR BYTE </b>Lcd_Clear: <b>FOR </b>Cursor = 0 <b>TO </b>5 PosX=0:PosY=Cursor:<b>GOSUB </b>Lcd_GotoXY <b>HIGH </b>Lcd_DC Lcd_Data = 0 <b>FOR </b>Char = 1 <b>TO </b>84 <b>GOSUB </b>LCD_ByteOut <b>NEXT </b>Char <b>NEXT </b>Cursor <b>RETURN </b></code>
BR,Code:<code><font color="#000000">Lcd_Data <b>VAR BYTE </b>[6] Lcd_Clear: PosX=0:PosY=0:<b>GOSUB </b>Lcd_GotoXY <b>HIGH </b>Lcd_DC Lcd_Data(0)=0:Lcd_Data(1)=0:Lcd_Data(2)=0:Lcd_Data(3)=0:Lcd_Data(4)=0:Lcd_Data(5)=0 <b>FOR </b>Char=1 <b>TO </b>102 <b>GOSUB </b>Write_LCD <b>NEXT </b>Char <b>RETURN </b>Write_LCD: <b>SHIFTOUT </b>SDIN,SCK,1,[ Lcd_Data(0),Lcd_Data(1),Lcd_Data(2),Lcd_Data(3),Lcd_Data(4),Lcd_Data(5) ] <b>RETURN </b></code>
-Gusse-
Thank's ! Of course, You are right ! So simple solution...Great !
Code:Lcd_Clear: For cursor = 0 to 5 PosX=0:PosY=Cursor:Gosub Lcd_GotoXY High Lcd_DC For i= 1 to 84 Lcd_Data=0:Gosub Lcd_SentByte Lcd_Data=0:Gosub Lcd_SentByte Next i Next cursor Return
hi all
i am new in this filed plz help me code in Micro Code Studio fore this
schematic.
Thanks
Last edited by ScaleRobotics; - 13th May 2010 at 15:04. Reason: spam like advertsing on schematic
Hello tahirmaqsood,
Your schematic seems to be advertising used cars. I am not sure how any code I could come up would be related to used cars, so I can't really help with the code for the sensors.
But here is some code for talking to the LCD display:
http://www.picbasic.co.uk/forum/show...3728#post73728
Please do not cross post copies of the same question to other threads.
By the way, are you still using Proton, or have you switched to PicBasicPro?
Last edited by ScaleRobotics; - 13th May 2010 at 14:32.
Bookmarks