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