rst logic broken for arm
manitou48 opened this issue · comments
manitou48 commented
For arm rst pin is declared unsigned, so " if (_rst <0) ... " stuff is broken. Probably need to use unsigned for avr too, and preset/test with 255
Could add additional conditionals for Arduino ZERO vs DUE
Tony DiCola commented
Thanks for catching the issue! Just fixed it by making the pin numbers signed ints and tested with an Arduino Zero.