Zur Übersicht - INFO - Neueste 50 Beiträge - Neuer Beitrag - Suchen - Zum C-Control-I-Forum - Zum C-Control-II-Forum

Re: ccpro_pcflcd.zip Kategorie: Programmierung C (von PepeV - 12.12.2014 17:17)
Als Antwort auf Re: ccpro_pcflcd.zip von Torsten - 7.12.2014 12:23
Ich nutze:
Pro-Bot128
Hi Torsten,

With my hardware backlight on is 0x08. Also the backlight is on when I
switch on the LCD. So I defined in PCF8574_Interface.h:
 #define LCD_BACKLIGHT_ON  0x08
and then adapted 3 routines in PCF8574_LCD.cc
- in LCDBackLightOff: 0x00 in stead of LCD_BACKLIGHT_OFF
- in LCDBackLightOn: LCD_BACKLIGHT_ON in stead of 0x00
- in LCDInit: gby_backlight_status = LCD_BACKLIGHT_ON;
Now the backlight works but something else goes wrong:
Test1WriteChar begins output of "HelloCControlPro" at line 1 at position 9
and "LCD-PCF8574 Test" at line 2, also at position 9.
Without my changes this routine worked fine.
There is also something wrong with the running text. The contrast is bad.
The boat looks fine,

Regards,
Pepe



    Antwort schreiben


Antworten:

Re: ccpro_pcflcd.zip (von Torsten - 27.12.2014 19:49)
    Re: ccpro_pcflcd.zip (von PepeV - 2.01.2015 14:56)