• 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

  • 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?

  • Reset only happens, if mode for port is set.
    I'm searching a better solution for jshIsPinValid, but nothing found yet.

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview

IO-Port availibilty depends on boards, using "wrong ports" result in reset

Posted by Avatar for JumJum @JumJum