1#ifndef Cpl_Io_Serial_Adafruit_Nrf5_InputOutput_h
2#define Cpl_Io_Serial_Adafruit_Nrf5_InputOutput_h
16#include "cores/nRF5/Uart.h"
88 void start(
unsigned long baudrate=115200, uint16_t config = SERIAL_8N1 )
noexcept;
99 bool read(
void* buffer,
int numBytes,
int& bytesRead );
110 bool write(
const void* buffer,
int maxBytes,
int& bytesWritten );
virtual bool write(char c)
Writes a single byte to the stream.
The 'Cpl' namespace is the root name space for the Colony.
Definition Api16.h:20