Zur Übersicht - INFO - Neueste 50 Beiträge - Neuer Beitrag - Suchen - FAQ - Zum CC1-Forum - Zum CC-Pro-Forum

Wichtig: Bevor Du wegen einem Problem mit der CC2 postest, stelle sicher, daß Du
die neueste OS-Version, die neuseste Compiler-DLL und die neuesten Modulversionen benutzt!
Beachte, daß sich auf der CD zur CC2-Unit/Station auch jetzt noch die ältesten Dateien befinden!
Es gelten folgende Anleitung und Regeln: Regeln CC2Net.de-Forum
Zurück zum Artikel  (Blaue Felder sind Pflichtfelder)


Name:   UserID: 
 E-Mail:
Kategorie
Betreff
Homepage:
Link-Titel:
Link-URL:
Cookie für Name, UserID, E-Mail, Homepage-URL setzen
(Erspart die Neueingabe bei Beiträgen und Antworten)
(Zum Löschen des Cookies hier klicken)
Ich nutze:
C-Control II Unit
C164CI-Controllerboard
C-Control II Station
CCRP5 mit CC2-Unit (Conrad Roboter)
CC2-Application-Board
CC2-StarterBoard
CC2-ReglerBoard
eigenes Board
original OS     OSOPT_V2     OSOPT V3.0 OSOPT V3.1

Kommentar:
Einfügen von HTML im Kommentar:

Link einfügen: <a href="LINKURL" target="_blank">LINKTITEL</a>
Bild einfügen: <img src="BILDURL">
Text formatieren: <b>fetter Text</b>  <i>kursiver Text</i> <u>unterstrichener Text</u>
Kombinationen sind auch möglich z.B.: <b><i>fetter & kursiver Text</i></b>
C2 Quellcode formatieren: <code>Quellcode</code>
ASM Quellcode formatieren: <asm>Quellcode</asm>
(Innerhalb eines Quellcodeabschnitts ist kein html möglich.)
Wichtig: Bitte mache Zeilenumbrüche, bevor Du am rechten Rand des Eingabefeldes ankommst !  

> Hello Andre > I tried to compile the programme for ASCII-codes and I got the following error messages. > > main (4): unknown identifier "speed" > main (13): unknown identifier "line" > > Could you tell me what the problem is. I am using the original files of hwcom and lcdext. Could this be the problem. > Regards, > Bernard. > > > > > > > Hallo Bernard, > > > > What should be shown on the LC-Display ? > > The Byte-Values or a string if there is sent the data > > as an ASCII-string, by the PH-meter ? > > > > For Bytevalues you can use this: > > > > <code>thread main > > {byte i; // charcounter > > hwcom.init(); > > hwcom.setspeed(speed); > > lcdext.init(); > > i=0; > > loop > > { > > wait hwcom.rxd(); > > lcdext.zahl3(hwcom.get()); > > i=i+1; > > if i>=32 i=0; // for 2x16 LCD, sets charcounter to 0 past 32 Chars > > if (i%16)==0 lcdext.line((i/16)+1); //for 2x16 LCD, changes line past 16 Chars > > } > > }</code> > > > > For ASCII-codes you can use this: > > > > <code>thread main > > {byte i; // charcounter > > hwcom.init(); > > hwcom.setspeed(speed); > > lcdext.init(); > > i=0; > > loop > > { > > wait hwcom.rxd(); > > lcdext.put(hwcom.get()); > > i=i+4; > > if i>=32 i=0; // for 2x16 LCD, sets charcounter to 0 past 32 Chars > > if (i%16)==0 lcdext.line((i/16)+1); //for 2x16 LCD, changes line past 16 Chars > > } > > }</code> > > > > regards, André H. > > > > > > > Hello, > > > I have conrads c-controller station 2 and I have a question. > > > Could someone please show me a programme that will read the input of the RS232 serial interface and output it > > > onto the LCD screen. > > > I have a pH meter connected to the serial interface and would like to read its output. > > > Thank you, > > > Bernard.
Dateianhang: (.gif, .png., .jpg, .zip, .rar)
max. 256kB
max. 256kB