1#ifndef Driver_PicoDisplay_Arduino_API_h
2#define Driver_PicoDisplay_Arduino_API_h
20#include "colony_config.h"
21#include "pimoroni_common.hpp"
22#include "pico_display.hpp"
26#ifndef OPTION_DRIVER_PICO_DISPLAY_ARDUINO_BUTTON_A_PIN
27#error Must define: OPTION_DRIVER_PICO_DISPLAY_ARDUINO_BUTTON_A_PIN
31#ifndef OPTION_DRIVER_PICO_DISPLAY_ARDUINO_BUTTON_B_PIN
32#error Must define: OPTION_DRIVER_PICO_DISPLAY_ARDUINO_BUTTON_B_PIN
36#ifndef OPTION_DRIVER_PICO_DISPLAY_ARDUINO_BUTTON_X_PIN
37#error Must define: OPTION_DRIVER_PICO_DISPLAY_ARDUINO_BUTTON_X_PIN
41#ifndef OPTION_DRIVER_PICO_DISPLAY_ARDUINO_BUTTON_Y_PIN
42#error Must define: OPTION_DRIVER_PICO_DISPLAY_ARDUINO_BUTTON_Y_PIN
46#ifndef OPTION_DRIVER_PICO_DISPLAY_ARDUINO_RGB_RED_PWM
47#error Must define: OPTION_DRIVER_PICO_DISPLAY_ARDUINO_RGB_RED_PWM
51#ifndef OPTION_DRIVER_PICO_DISPLAY_ARDUINO_RGB_GREEN_PWM
52#error Must define: OPTION_DRIVER_PICO_DISPLAY_ARDUINO_RGB_GREEN_PWM
56#ifndef OPTION_DRIVER_PICO_DISPLAY_ARDUINO_RGB_BLUE_PWM
57#error Must define: OPTION_DRIVER_PICO_DISPLAY_ARDUINO_RGB_BLUE_PWM
61#ifndef OPTION_DRIVER_PICO_DISPLAY_ARDUINO_LCD_ROTATION
62#define OPTION_DRIVER_PICO_DISPLAY_ARDUINO_LCD_ROTATION pimoroni::ROTATE_0
66#ifndef OPTION_DRIVER_PICO_DISPLAY_ARDUINO_SPI_BUS
67#error Must define: OPTION_DRIVER_PICO_DISPLAY_ARDUINO_SPI_BUS
71#ifndef OPTION_DRIVER_PICO_DISPLAY_ARDUINO_SPI_CS_PIN
72#error Must define: OPTION_DRIVER_PICO_DISPLAY_ARDUINO_SPI_CS_PIN
76#ifndef OPTION_DRIVER_PICO_DISPLAY_ARDUINO_SPI_DC_PIN
77#error Must define: OPTION_DRIVER_PICO_DISPLAY_ARDUINO_SPI_DC_PIN
81#ifndef OPTION_DRIVER_PICO_DISPLAY_ARDUINO_BACKLIGHT_PWM
82#error Must define: OPTION_DRIVER_PICO_DISPLAY_ARDUINO_BACKLIGHT_PWM
89namespace PicoDisplay {
void initialize()
This method is used to initialize the platform specific drivers.