more prints

pico-button-core
alanbjohnston 3 years ago committed by GitHub
parent f5a2f9a7ed
commit 08fc5df40f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -3247,12 +3247,19 @@ void loop1() {
serial_input();
Serial.println("l2");
// check for button press
if (digitalRead(MAIN_PB_PIN) == PRESSED) // pushbutton is pressed
process_pushbutton();
Serial.println("l3");
if (BOOTSEL) // boot selector button is pressed on Pico
process_bootsel();
Serial.println("l4");
// check to see if the mode has changed
if (mode != new_mode) {
Serial.println("Changing mode");
@ -3269,9 +3276,9 @@ void loop1() {
config_radio();
sampleTime = (unsigned int) millis();
}
Serial.println("l5");
sleep(1.0);
Serial.println("l6");
/*
Serial.print("l1 ");
Serial.print(wav_position);

Loading…
Cancel
Save

Powered by TurnKey Linux.