2021-06-17 15:33:05 +01:00
|
|
|
#pragma once
|
|
|
|
|
2022-05-29 14:42:31 +01:00
|
|
|
#include "pico/stdlib.h"
|
2021-06-17 15:33:05 +01:00
|
|
|
|
|
|
|
namespace pimoroni {
|
2022-05-29 14:42:31 +01:00
|
|
|
class PicoDisplay2 {
|
2021-06-17 15:33:05 +01:00
|
|
|
public:
|
|
|
|
static const int WIDTH = 320;
|
|
|
|
static const int HEIGHT = 240;
|
2022-05-12 12:43:58 +01:00
|
|
|
static const uint8_t A = 12;
|
2021-06-17 15:33:05 +01:00
|
|
|
static const uint8_t B = 13;
|
|
|
|
static const uint8_t X = 14;
|
|
|
|
static const uint8_t Y = 15;
|
2022-05-12 16:02:56 +01:00
|
|
|
static const uint8_t LED_R = 6;
|
|
|
|
static const uint8_t LED_G = 7;
|
|
|
|
static const uint8_t LED_B = 8;
|
2021-06-17 15:33:05 +01:00
|
|
|
};
|
|
|
|
}
|