Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 16, 2024, 01:20:11 13:20


Login with username, password and session length


Pages: [1]
Print
Author Topic: GLCD in proton, can't make it work  (Read 3988 times)
0 Members and 1 Guest are viewing this topic.
lab310
Newbie
*
Offline Offline

Posts: 14

Thank You
-Given: 4
-Receive: 0


« on: December 27, 2007, 10:07:53 10:07 »

I have a problem using glcd under Proton. I have development board EasyPic4 and tried all examples from Mikroelektronika's Basic and they all work perfectly. But when I try simple example in Proton, nothing happens. I've done all declarations according to hardware setup, but it's no go. Does anyone have clue what might be a problem, or working example of glcd & proton (I need code, hardware description and declarations) so I can figure what is problem with my setup?
Logged
Ahmad_k
SCG Moderator
Hero Member
*****
Offline Offline

Posts: 747

Thank You
-Given: 169
-Receive: 1289



« Reply #1 on: December 27, 2007, 12:02:56 12:02 »

Upload your source code to see if ther is an error or not
Logged
Kabron
Active Member
***
Offline Offline

Posts: 196

Thank You
-Given: 63
-Receive: 139



« Reply #2 on: December 28, 2007, 01:18:14 13:18 »

'MikroElektronika EP4 GLCD Definition
        Declare LCD_TYPE       SAMSUNG
        Declare LCD_INTERFACE  8         
        Declare LCD_DTPIN      PORTD.0             
        Declare LCD_RSTPIN     PORTB.5
        Declare LCD_ENPIN      PORTB.4
        Declare LCD_RWPIN      PORTB.3
        Declare LCD_RSPIN      PORTB.2
        Declare LCD_CS1PIN     PORTB.1       
        Declare LCD_CS2PIN     PORTB.0
        Declare GLCD_CS_INVERT On
        High                   PORTB.5
'End of MikroElektronika EP4 GLCD Definition
Logged
Deimos
Newbie
*
Offline Offline

Posts: 31

Thank You
-Given: 1
-Receive: 14


Whatever...!!!


WWW
« Reply #3 on: January 01, 2008, 12:03:15 00:03 »

look this is a very simply example, it is in spanish, you have to translate if you need.

http://www.freewebs.com/glafebre/lcdgrafico.htm
Logged

Saludos desde Ecuador
jeanninemtv
Senior Member
****
Offline Offline

Posts: 311

Thank You
-Given: 57
-Receive: 25


« Reply #4 on: January 01, 2008, 12:34:21 00:34 »

if your lcd is a ts12864, try to change cs1 ---> cs0 in hardware and cs inverting in soft....  and send your codes ......  Shocked
Logged
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright © 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC