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> C Quellcode formatieren: <code>Quellcode</code> BASIC Quellcode formatieren: <basic>Quellcode</basic> (Innerhalb eines Quellcodeabschnitts ist kein html möglich.) Wichtig: Bitte mache Zeilenumbrüche, bevor Du am rechten Rand des Eingabefeldes ankommst ! -> I > Hello, > > I have this question. > > > void main(void) > { > byte Rx; > > Serial_Init(0,SR_8BIT|SR_1STOP|SR_NO_PAR,SR_BD9600); > > while(1) > { > If Serial_IRQ_Info(0,RS232_FIFO_RECV)>0 Then > Rx = Serial_ReadExt(0); > > /* > The following part of the code that I need. > > If Rx = A (65) Then Set Port X1 > If Rx = B (66) Then Set Port X2 > If Rx = C (67) Then Clear Port X1 an X2 > > End If > > Clear the RS232_FIFO_RECV > > */ > > } > } > > Thank you for answering my query. > > Bram.