Update cubesatsim.ino

pull/153/head
alanbjohnston 4 years ago committed by GitHub
parent ecadeceb33
commit f5a2f5d291
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -47,14 +47,14 @@ char payload_str[100];
void setup() { void setup() {
Serial.begin(9600);
config_gpio(); config_gpio();
mode = FSK; // AFSK; mode = FSK; // AFSK;
Serial.begin(9600);
// delay(12000); // delay(12000);
sleep(10.0); // sleep(3.0);
#ifndef ARDUINO_ARCH_RP2040 #ifndef ARDUINO_ARCH_RP2040
Serial.println("This code is written for the Raspberry Pi Pico hardware."); Serial.println("This code is written for the Raspberry Pi Pico hardware.");
@ -2218,9 +2218,9 @@ void pwm_interrupt_handler() {
void setup1() { void setup1() {
Serial.begin(9600); Serial.begin(9600);
sleep(10.0); // sleep(10.0);
if (mode == FSK) // if (mode == FSK)
{ {
pinMode(AUDIO_OUT_PIN, OUTPUT); pinMode(AUDIO_OUT_PIN, OUTPUT);

Loading…
Cancel
Save

Powered by TurnKey Linux.