Lua-RTOS-ESP32 icon indicating copy to clipboard operation
Lua-RTOS-ESP32 copied to clipboard

pio.port.getval pin numbers always sorted?

Open Mynogs opened this issue 5 years ago • 1 comments

pio.port.getval(39, 38, 37) give as result the values of port 37, 38 and 39.

So pio.port.getval(39, 38, 37) is eqivalent to pio.port.getval(37, 38, 39).

Please document these behaviors, this can be quite surprising!

Mynogs avatar Dec 03 '19 15:12 Mynogs

Hmm, sounds to me as if this wasn't some dangerous feature but rather a bug bug-feature 1

the0ne avatar Dec 04 '19 08:12 the0ne