Skip to content

Commit

Permalink
try debug
Browse files Browse the repository at this point in the history
  • Loading branch information
ladyada committed Dec 31, 2024
1 parent d637260 commit 12db608
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions wled00/pin_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,9 @@ bool PinManager::isPinOk(byte gpio, bool output)
// GPIO46 is input only and pulled down
#else

Serial.printf("GPIO TEST %d\n\r", gpio);
if (strncmp_P(PSTR("ESP32-U4WDH"), ESP.getChipModel(), 11) == 0) {
Serial.println("U4WDH");
// this chip has 4 MB of internal Flash and different packaging, so available pins are different!
if ((gpio == 1) || (gpio == 3) || ((gpio >= 6) && (gpio <= 8)) ||
(gpio == 11) || (gpio == 16) || (gpio == 17) || (gpio == 20) ||
Expand Down

0 comments on commit 12db608

Please sign in to comment.