pico-v0.15 v0.2
alanbjohnston 3 years ago committed by GitHub
parent 97835a5298
commit 85c09e27c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2821,7 +2821,7 @@ void start_ina219() {
pinMode(PI_3V3_PIN, INPUT);
// Serial.print("Pi 3.3V: ");
// Serial.println(digitalRead(PI_3V3_PIN));
/ if (digitalRead(PI_3V3_PIN) == LOW) {
if (digitalRead(PI_3V3_PIN) == LOW) {
// if (true) {
Serial.println("Pi Zero not present, powering INA219s through 3.3V pin");
pinMode(PI_3V3_PIN, OUTPUT);

Loading…
Cancel
Save

Powered by TurnKey Linux.