2#include <initializer_list>
6#include "TinyGPU/Drivers/DisplayDriver.h"
7#include "TinyGPU/Emulation.h"
9#if defined(ARDUINO_ARCH_RP2040) || defined(PICO_RP2040)
10#include "hardware/clocks.h"
11#include "hardware/dma.h"
12#include "hardware/gpio.h"
13#include "hardware/pio.h"
14#define TINYGPU_HAS_RP2040_PIO_PARALLEL8 1
17 "DisplayDriverParallel8RP2040.h needs the RP2040 PIO/DMA peripherals (pico-sdk hardware/pio.h, hardware/dma.h) - RP2040-only (arduino-pico core, or a plain pico-sdk build). For a portable, any-Arduino-core bit-banged 8-bit parallel driver see DisplayDriverParallel8.h; for ESP32's hardware LCD_CAM/PARLIO peripherals see DisplayDriverParallel8ESP32.h."
22#ifdef TINYGPU_HAS_RP2040_PIO_PARALLEL8
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
134 static_assert(
sizeof(
RGB_T) == 2,
135 "writeData assumes a 16bpp RGB_T (RGB565) stored in "
193 for (
int i = 0;
i < 8; ++
i) {
302
303
304
305
306
307
308
400 writeDataN({0x0F, 0x31, 0x2B, 0x0C, 0x0E, 0x08, 0x4E, 0xF1, 0x37, 0x07,
401 0x10, 0x03, 0x0E, 0x09, 0x00});
404 writeDataN({0x00, 0x0E, 0x14, 0x03, 0x11, 0x07, 0x31, 0xC1, 0x48, 0x08,
405 0x0F, 0x0C, 0x31, 0x36, 0x0F});
454
455
456
Definition: DSIBusESP32.h:19