From 3847899e0e7225b24ee4e390996b1f6797388b6d Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Sun, 21 Aug 2022 16:35:12 -0400 Subject: [PATCH] added PICO_0V1 flag for v0.1 hardware --- cubesatsim/cubesatsim.ino | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cubesatsim/cubesatsim.ino b/cubesatsim/cubesatsim.ino index dfb482ba..0b793655 100644 --- a/cubesatsim/cubesatsim.ino +++ b/cubesatsim/cubesatsim.ino @@ -57,6 +57,12 @@ WiFiServer server(port); WiFiClient client; //#define PICO_W // define if Pico W board. Otherwise, compilation fail for Pico or runtime fail if compile as Pico W +#define PICO_0V1 // define for Pico v0.1 hardware + +#ifdef PICO_0v1 +#define BPF_PIN 8 // BPF is installed for v0.1 Pico +#define PI_3V3_PIN 9 // 3.3V supply used to detect Pi Zero for v0.1 Pico +#endif byte green_led_counter = 0; char call[] = "AMSAT"; // put your callsign here