|
|
|
|
@ -47,6 +47,8 @@ char payload_str[100];
|
|
|
|
|
|
|
|
|
|
void setup() {
|
|
|
|
|
|
|
|
|
|
config_gpio()
|
|
|
|
|
|
|
|
|
|
mode = FSK; // AFSK;
|
|
|
|
|
|
|
|
|
|
Serial.begin(9600);
|
|
|
|
|
@ -58,12 +60,8 @@ void setup() {
|
|
|
|
|
Serial.println("This code is written for the Raspberry Pi Pico hardware.");
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// detect Pi Zero using 3.3V
|
|
|
|
|
|
|
|
|
|
// if Pi is present, run Payload OK software
|
|
|
|
|
|
|
|
|
|
// otherwise, run CubeSatSim Pico code
|
|
|
|
|
|
|
|
|
|
Serial.println("\n\nCubeSatSim Pico v0.1 starting...\n\n");
|
|
|
|
|
@ -77,8 +75,6 @@ void setup() {
|
|
|
|
|
|
|
|
|
|
config_telem();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// configure STEM Payload sensors
|
|
|
|
|
start_payload();
|
|
|
|
|
|
|
|
|
|
|