From 7904c2a2f9cf98dd43dc58f937afbf6d41d5f2d3 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Sun, 21 Aug 2022 22:04:28 -0400 Subject: [PATCH] moved PICO_0V1 defines to .h --- cubesatsim/cubesatsim.ino | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/cubesatsim/cubesatsim.ino b/cubesatsim/cubesatsim.ino index 73d56005..97ee26ef 100644 --- a/cubesatsim/cubesatsim.ino +++ b/cubesatsim/cubesatsim.ino @@ -18,6 +18,8 @@ // This code is an Arduino sketch for the Raspberry Pi Pico // based on the Raspberry Pi Code +#define PICO_0V1 // define for Pico v0.1 hardware + #include "cubesatsim.h" #include "DumbTXSWS.h" #include @@ -57,12 +59,6 @@ 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