Jomelo / LCDMenuLib2

Create a tree menu. Use it with different lcd types / console output / ssh console.
MIT License
251 stars 48 forks source link

Bug in all examples with ir remote control #32

Closed Jomelo closed 5 years ago

Jomelo commented 5 years ago

The message they sent you was:

thanks for your great work trying your examples i had found one bug later in control section for irremote please add this line for correct act for IRremte

switch (key) { case '#': LCDML.BT_enter(); break; case '2': LCDML.BT_up(); break; case '8': LCDML.BT_down(); break; case '4': LCDML.BT_left(); break; case '6': LCDML.BT_right(); break; case '*': LCDML.BT_quit(); break; default: break; } irrecv.resume(); // Receive the next value

clear-sky commented 5 years ago

if add this line after switch function every thing works ok! irrecv.resume();

Jomelo commented 5 years ago

i add this bugfix to the develop branch