IO-Port availibilty depends on boards, using "wrong ports" result in reset #7426
Unanswered
espruino-discuss3
asked this question in
ESP32
Replies: 1 comment
-
Posted at 2021-01-22 by @gfwilliams Great - thanks for the update on this - that's a bit tricky. But if you don't reference D16/D17 in your code you don't get any resets? Posted at 2021-01-22 by JumJum Reset only happens, if mode for port is set. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2021-01-21 by JumJum
Depending on boards we use some ports cause a shutdown after setting mode for pin, like D16.mode("output").
Testing was done to check speed of different solutions for LED-Matrix(32x64).
Started with a board from Watterott, everything worked fine.
Switching to another board reset with same configuration.
Problem could be drilled down to usage of IO16 and IO17.
D16.mode("output") and I've got a reset.
Most boards don't have pins for IO16 and IO17, so be careful, not to use them accidently
Beta Was this translation helpful? Give feedback.
All reactions