Update cubesatsim.ino

pico-payload-gps
alanbjohnston 3 years ago committed by GitHub
parent fb12d2984b
commit 80a0abdf41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -3128,17 +3128,17 @@ void payload_OK_only()
char result = Serial1.read(); char result = Serial1.read();
// Serial1.println(result); // Serial1.println(result);
Serial.println(result); Serial.println(result);
}
if (result == 'R') { if (result == 'R') {
Serial1.println("OK"); Serial1.println("OK");
delay(100); delay(100);
first_read = true; first_read = true;
start_payload(); start_payload();
// setup(); // setup();
} }
}
// if (result == '?') // if (result == '?')
if (true) if (true) // always send payload data over serial
{ {
if (bmePresent) { if (bmePresent) {
Serial1.print("OK BME280 "); Serial1.print("OK BME280 ");

Loading…
Cancel
Save

Powered by TurnKey Linux.