AndrewMascolo / OnewireKeypad

One Wire Keypad
MIT License
31 stars 14 forks source link

Update OnewireKeypad.h #15

Closed ilastovicka closed 3 years ago

ilastovicka commented 4 years ago

Updated GetKey to return closest key value to input. Previously this would return as soon as a key value was found that was greater than the input, even if the next key value would have been absolutely closer.