1#ifndef Driver_PicoDisplay_TPipe_h
2#define Driver_PicoDisplay_TPipe_h
54#include "colony_config.h"
62#ifndef OPTION_DRIVER_PICO_DISPLAY_TPIPE_RX_FRAME_HANDLER_SIZE
63#define OPTION_DRIVER_PICO_DISPLAY_TPIPE_RX_FRAME_HANDLER_SIZE 256
67#ifndef OPTION_DRIVER_PICO_DISPLAY_TPIPE_BUTTON_A_NAME
68#define OPTION_DRIVER_PICO_DISPLAY_TPIPE_BUTTON_A_NAME "A"
72#ifndef OPTION_DRIVER_PICO_DISPLAY_TPIPE_BUTTON_B_NAME
73#define OPTION_DRIVER_PICO_DISPLAY_TPIPE_BUTTON_B_NAME "B"
77#ifndef OPTION_DRIVER_PICO_DISPLAY_TPIPE_BUTTON_X_NAME
78#define OPTION_DRIVER_PICO_DISPLAY_TPIPE_BUTTON_X_NAME "X"
82#ifndef OPTION_DRIVER_PICO_DISPLAY_TPIPE_BUTTON_Y_NAME
83#define OPTION_DRIVER_PICO_DISPLAY_TPIPE_BUTTON_Y_NAME "Y"
87#ifndef OPTION_DRIVER_PICO_DISPLAY_TPIPE_RGB_LED_NAME
88#define OPTION_DRIVER_PICO_DISPLAY_TPIPE_RGB_LED_NAME "theOne"
92#ifndef OPTION_DRIVER_PICO_DISPLAY_LCD_WIDTH
93#define OPTION_DRIVER_PICO_DISPLAY_LCD_WIDTH 240
97#ifndef OPTION_DRIVER_PICO_DISPLAY_LCD_HEIGHT
98#define OPTION_DRIVER_PICO_DISPLAY_LCD_HEIGHT 135
102#ifndef OPTION_DRIVER_PICO_DISPLAY_TPIP_FRAME_SOF
103#define OPTION_DRIVER_PICO_DISPLAY_TPIP_FRAME_SOF '^'
107#ifndef OPTION_DRIVER_PICO_DISPLAY_TPIP_FRAME_EOF
108#define OPTION_DRIVER_PICO_DISPLAY_TPIP_FRAME_EOF ';'
114namespace PicoDisplay {
This partially abstract class defines a interface for operating on an output stream (example of a str...
Definition Output.h:34
This concrete class provides the implementation of TPipe.
Definition Pipe.h:60
Driver::TPipe::Pipe & tpipe() noexcept
This method returns a handle to the underly TPipe instance.
void initialize(Cpl::Io::Input &tpipeInStream, Cpl::Io::Output &tpipeOutStream) noexcept
This method initializes the composite driver and provides the IO streams it uses to communicate with ...