2021-01-16 12:26:03 +00:00
|
|
|
#pragma once
|
|
|
|
|
2022-05-29 13:42:31 +00:00
|
|
|
#include "pico/stdlib.h"
|
2021-01-16 12:26:03 +00:00
|
|
|
|
|
|
|
namespace pimoroni {
|
2022-05-29 13:42:31 +00:00
|
|
|
class PicoDisplay {
|
2021-01-20 15:59:48 +00:00
|
|
|
public:
|
|
|
|
static const int WIDTH = 240;
|
|
|
|
static const int HEIGHT = 135;
|
2022-05-12 11:43:58 +00:00
|
|
|
static const uint8_t A = 12;
|
2021-01-20 15:59:48 +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-01-16 12:26:03 +00:00
|
|
|
};
|
2021-03-06 16:45:38 +00:00
|
|
|
}
|