Merge pull request #2 from ConHuevosGuey/master
Fixed bug in LCD display
This commit is contained in:
commit
97824fbc34
1 file changed
+7
-3
@@ -222,9 +222,13 @@ void loop() /*----( LOOP: RUNS CONSTANTLY )----*/
|
||||
}
|
||||
case btnUP:
|
||||
{
|
||||
if (c != 0) {c--;}
|
||||
lcd.print(GameList[c]);
|
||||
break;
|
||||
if (c !=0)
|
||||
{
|
||||
if (c > 0) {c--;} else {c++;}
|
||||
}
|
||||
|
||||
lcd.print(GameList[c]);
|
||||
break;
|
||||
}
|
||||
case btnDOWN:
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user