force Pi Zero detected

pico-v0.36-detect-pi
alanbjohnston 3 years ago committed by GitHub
parent e1355f0afd
commit 4f12636244
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -120,7 +120,8 @@ void setup() {
pinMode(PI_3V3_PIN, INPUT);
Serial.print("Pi 3.3V: ");
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.");
start_payload();
while(true) {

Loading…
Cancel
Save

Powered by TurnKey Linux.