Prossesing RS 232 Data Kategorie: IDE (von Bram Vooys - 1.08.2016 11:12) | ||
| ||
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. | ||
Antwort schreiben Antworten: |
Zur Übersicht - INFO - Neueste 50 Beiträge - Neuer Beitrag - Suchen - Zum C-Control-I-Forum - Zum C-Control-II-Forum