DCC-EX / EX-IOExpander

Digital and Analogue I/O expander using Arduino AVR
GNU General Public License v3.0
8 stars 5 forks source link

[To Do]: Fix display and output test time comparisons #21

Closed peteGSX closed 1 year ago

peteGSX commented 1 year ago

Task description

BTW... ioexpander uses a construct like

Millis() > last + duration

This will eventually cause a hang... you should use

Millis() - lastmillis > duration

"Always compare durations... not times"

peteGSX commented 1 year ago

Also need to ensure pin configuration is displayed in serial console regardless if diags are enabled or not.

peteGSX commented 1 year ago

Will fix while addressing the dim LED output bug.