sensebox / senseBox-MCU-S2-ESP32S2

new senseBox MCU-S2 with ESP32S2
1 stars 0 forks source link

Aktivieren der Spannungsversorgung am GPIO #2

Open PaulReichmuth opened 2 years ago

PaulReichmuth commented 2 years ago

Um 3,3V auf den GPIO-Pins anzulegen, muss per Software erst der IO-ENABLE Pin (Pin 8 in Arduino) auf LOW gesetzt werden.

#define IO_ENABLE 8

void setup() {
  // put your setup code here, to run once:

  pinMode(IO_ENABLE, OUTPUT);
  digitalWrite(IO_ENABLE,LOW);
}