Autor Tema: No consigo hacer funcionar el lcd de la placa EasyPic5  (Leído 1627 veces)

0 Usuarios y 1 Visitante están viendo este tema.

Desconectado jezus

  • PIC10
  • *
  • Mensajes: 44
No consigo hacer funcionar el lcd de la placa EasyPic5
« en: 09 de Septiembre de 2009, 22:35:16 »
Hola, he intentado muchas veces usar el LCD de la placa easypic5 programando en CCS pero no lo consigo, la libreria que uso es la flex_lcd.c y le hago los siguientes cambio:

// flex_lcd.c

// These pins are for the Microchip PicDem2-Plus board,
// which is what I used to test the driver.  Change these
// pins to fit your own board.

#define LCD_DB4   PIN_B0
#define LCD_DB5   PIN_B1
#define LCD_DB6   PIN_B2
#define LCD_DB7   PIN_B3
//
#define LCD_RS    PIN_B4
//#define LCD_RW    PIN_C1
#define LCD_E     PIN_B5

// If you only want a 6-pin interface to your LCD, then
// connect the R/W pin on the LCD to ground, and comment
// out the following line.

//#define USE_LCD_RW   1

//========================================

El pin RW del lcd está conectado a masa (por eso pongo como comentario la ultima linea)...no se si ese será el problema.

p.d.:si programas con MikroC si funciona correctamente, pero necesito que sea en CCS.
Gracias!


 

anything