#include "x.h"
bool buttonPressed = false;
bool buttonLongPressed = false;
bool shutdownTriggered = false;
#define Serial Serial1
#define BUTTON_PRESSED (digitalRead(2) == LOW)
#define LED_ON digitalWrite(LED_BUILTIN, HIGH)
#define LED_OFF digitalWrite(LED_BUILTIN, LOW)
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
Serial.println("Hello, Raspberry Pi Pico!");
pinMode(2, INPUT_PULLUP);
}
// TODO: Use the 8 bits of a uint8_t instead of an array of single-bit uint8_ts
void loop() {
delay(1); // this speeds up the simulation
}