
|
INFO - FAQ - CC2-Forum - CCPro-Forum |
|
I am trying to get the LCD display which came with the c-control plus kit to work using C3C. It works fine using the CCplus programming tool. I suspect the problems is using the correct Ausgabeport for OutByte but I am not sure as I tried a few to no avail. Any ideas? This is the C code: #define Ausgabeport 0 // Datenport für LCD-Display #define Strobe 8 // Strobe-Leitung für LCD-Display static char Meldung[15] = "Hello world!\r\n"; void SchreibeZeichen(char Zeichen) { OutByte(Ausgabeport,Zeichen); Pulse(Strobe); } void main() { int i = 0; while (Meldung[i]!=0) { SchreibeZeichen(Meldung[i]); i++; } } |
| Antwort schreiben |