removed blinks and delays in startup

pico-v0.33-debug
alanbjohnston 3 years ago committed by GitHub
parent 36c0caec3e
commit 62c0c03a02
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -92,7 +92,7 @@ void setup() {
pinMode(LED_BUILTIN, OUTPUT); pinMode(LED_BUILTIN, OUTPUT);
blinkTimes(1); blinkTimes(1);
sleep(5.0); /// sleep(5.0);
// otherwise, run CubeSatSim Pico code // otherwise, run CubeSatSim Pico code
@ -111,7 +111,7 @@ void setup() {
// detect Pi Zero using 3.3V // detect Pi Zero using 3.3V
// if Pi is present, run Payload OK software // if Pi is present, run Payload OK software
load_files(); /// load_files();
/* /*
pinMode(PI_3V3_PIN, INPUT); pinMode(PI_3V3_PIN, INPUT);
Serial.print("Pi 3.3V: "); Serial.print("Pi 3.3V: ");
@ -165,7 +165,8 @@ void setup() {
// strcpy(callsign, call); // strcpy(callsign, call);
if (mode != CW) if (mode != CW)
transmit_callsign(callsign); transmit_callsign(callsign);
sleep(5.0); // sleep(5.0);
sleep(1.0);
/**/ /**/
config_telem(); config_telem();
@ -2486,7 +2487,7 @@ void start_payload() {
Serial.println("Starting payload!"); Serial.println("Starting payload!");
blink_setup(); blink_setup();
/*
blink(500); blink(500);
sleep(0.25); // delay(250); sleep(0.25); // delay(250);
blink(500); blink(500);
@ -2497,7 +2498,8 @@ void start_payload() {
led_set(blueLED, HIGH); led_set(blueLED, HIGH);
sleep(0.25); // delay(250); sleep(0.25); // delay(250);
led_set(blueLED, LOW); led_set(blueLED, LOW);
*/
if (bme.begin()) { if (bme.begin()) {
bmePresent = 1; bmePresent = 1;
} else { } else {

Loading…
Cancel
Save

Powered by TurnKey Linux.