moved PICO_0V1 defines to .h

pull/182/head
alanbjohnston 4 years ago committed by GitHub
parent 64e799efef
commit 7904c2a2f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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 <Wire.h>
@ -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

Loading…
Cancel
Save

Powered by TurnKey Linux.