View previous topic :: View next topic |
Author |
Message |
marcosx
Joined: 12 Jan 2010 Posts: 9
|
Posted: Sun Dec 03, 2017 3:03 pm Post subject: LCD 1x8 SPI |
|
|
Hello:
Please help me in the LCD interface SPI ST7036
I have never run LCD and ISP interface before.
http://www.artronic.com.pl/o_produkcie.php?id=2050?
$regfile = "m168pdef.dat"
$crystal = 16000000
Config Spi = Soft , Din = Pinc.0 , Dout = Portc.3 , Clock = Portc.2 , Ss = None
Config Lcd = 16 * 1a
Initlcd
Cursor Off
Cls
Do
Lcd " test "
Wait 2
Lcd "TEST LCD"
Wait
loop
Compiler version :2.0.8.0
|
|
Back to top |
|
|
Mrshilov
Joined: 24 Jan 2009 Posts: 314 Location: Russia
|
|
Back to top |
|
|
Duval JP
Joined: 22 Jun 2004 Posts: 1161 Location: France
|
Posted: Sun Dec 10, 2017 10:48 am Post subject: |
|
|
are you using 3.3V For VCC ?
IF you use 5.0 you can buy another display....
JP |
|
Back to top |
|
|
marcosx
Joined: 12 Jan 2010 Posts: 9
|
Posted: Wed Dec 13, 2017 11:36 am Post subject: |
|
|
No reaction, nothing works,
I connected to 5v and 3.3v and nothing.
There must be some other initiation procedure
this display. |
|
Back to top |
|
|
Mrshilov
Joined: 24 Jan 2009 Posts: 314 Location: Russia
|
Posted: Wed Dec 13, 2017 12:36 pm Post subject: |
|
|
Sorry, CSB pin must be connected to GND. |
|
Back to top |
|
|
marcosx
Joined: 12 Jan 2010 Posts: 9
|
Posted: Wed Dec 13, 2017 3:18 pm Post subject: |
|
|
There is still no reaction
|
|
Back to top |
|
|
marcosx
Joined: 12 Jan 2010 Posts: 9
|
|
Back to top |
|
|
|