adafruit / Adafruit_ILI9341

Library for Adafruit ILI9341 displays

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rst logic broken for arm

manitou48 opened this issue · comments

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

Thanks for catching the issue! Just fixed it by making the pin numbers signed ints and tested with an Arduino Zero.