mini serial class for the SdFat library.
More...
#include <MinimumSerial.h>
mini serial class for the SdFat library.
◆ available()
int MinimumSerial::available |
( |
| ) |
|
- Returns
- one if data is available.
◆ begin()
void MinimumSerial::begin |
( |
uint32_t |
baud | ) |
|
Set baud rate for serial port zero and enable in non interrupt mode. Do not call this function if you use another serial library.
- Parameters
-
◆ flush()
void MinimumSerial::flush |
( |
| ) |
|
◆ operator bool()
MinimumSerial::operator bool |
( |
| ) |
|
|
inline |
- Returns
- true for hardware serial
◆ read()
int MinimumSerial::read |
( |
| ) |
|
Unbuffered read
- Returns
- -1 if no character is available or an available character.
◆ write()
size_t MinimumSerial::write |
( |
uint8_t |
b | ) |
|
Unbuffered write
- Parameters
-
- Returns
- 1
The documentation for this class was generated from the following files:
- ArduinoSdFat/libraries/SdFat/src/MinimumSerial.h
- ArduinoSdFat/libraries/SdFat/src/MinimumSerial.cpp