FastLED 3.9.15
Loading...
Searching...
No Matches

◆ write() [2/2]

size_t fl::SerialPort::write ( u8 byte)

Write single byte to serial output.

Parameters
byteByte to write
Returns
Number of bytes written (1 on success, 0 on failure)

Definition at line 38 of file serial.cpp.hpp.

38 {
39 char str[2] = {static_cast<char>(byte), '\0'};
40 fl::print(str);
41 return 1;
42}
uint8_t byte
Definition midi_Defs.h:36
void print(const char *str)

References fl::print().

+ Here is the call graph for this function: