-
Notifications
You must be signed in to change notification settings - Fork 7
UARTx_end
gicking edited this page Feb 10, 2018
·
1 revision
back to Command Reference / Serial
disables UARTx (x=1..4) sender and receiver. Re-enable via UARTx_begin().
- defined in
uartx.h
(x=1..4) -
not loaded by
main_general.h
- no
#define
required
UARTx_end()
-
input:
- none
-
output:
- none
- Nothing
The below function echoes 1 byte received via UART1, then disables communication.
#include "main_general.h"
#include "uart1.h"
void setup() {
UART1_begin(115200);
}
void loop() {
if (UART1_available()) {
UART1_write(UARTx_read());
UART1_end();
}
}
- tbd
-
Getting Started
-
- General Commands
- Libraries
- LCD BTHQ21605V
- poti AD5280
- poti AD5282
- freemodbus
- PetitFS SD-card (min)
- FatFS: SD card (full)
- Board Specific
-
- Universal
- Board Specific