|
|
|
@ -3613,8 +3613,8 @@ void config_gpio() {
|
|
|
|
pinMode(PI_3V3_PIN, INPUT);
|
|
|
|
pinMode(PI_3V3_PIN, INPUT);
|
|
|
|
Serial.print("Pi 3.3V: ");
|
|
|
|
Serial.print("Pi 3.3V: ");
|
|
|
|
Serial.println(digitalRead(PI_3V3_PIN));
|
|
|
|
Serial.println(digitalRead(PI_3V3_PIN));
|
|
|
|
// if (digitalRead(PI_3V3_PIN) == HIGH) {
|
|
|
|
if (digitalRead(PI_3V3_PIN) == HIGH) {
|
|
|
|
{
|
|
|
|
// {
|
|
|
|
Serial.print("Pi Zero present, so running Payload OK code instead of CubeSatSim code.");
|
|
|
|
Serial.print("Pi Zero present, so running Payload OK code instead of CubeSatSim code.");
|
|
|
|
start_payload();
|
|
|
|
start_payload();
|
|
|
|
while(true) {
|
|
|
|
while(true) {
|
|
|
|
|