i have a LCD keypad on top of my arduino uno and i want to be able to push the SELECT button on the LCD keypad shield to generate random numbers to be able to simulate rolling the dice on a board game, the problem i'm having is whenever i upload the code to my arduino, it is generating the numbers by itself, plz help and whenever I upload the code to the Arduino I get,
Arduino: 1.8.5 (Windows Store 1.8.10.0) (Windows 10), Board: "Arduino/Genuino Uno"
In file included from C:\Users\taran\Desktop\arduino\demo_simple\demo_simple.ino:3:0:
C:\Users\taran\Desktop\arduino\demo_simple\demo_simple.ino: In function 'void loop()':
C:\Users\taran\Documents\Arduino\libraries\DFR_LCD_Keypad-master/DFR_LCD_Keypad.h:35:35: error: expected '(' before numeric constant
#define DFR_LCD_KEYPAD_KEY_SELECT 4
^
C:\Users\taran\Documents\Arduino\libraries\DFR_LCD_Keypad-master/DFR_LCD_Keypad.h:55:20: note: in expansion of macro 'DFR_LCD_KEYPAD_KEY_SELECT'
#define KEY_SELECT DFR_LCD_KEYPAD_KEY_SELECT
^
C:\Users\taran\Desktop\arduino\demo_simple\demo_simple.ino:31:10: note: in expansion of macro 'KEY_SELECT'
if KEY_SELECT:{
^
demo_simple:50: error: expected '}' at end of input
}
^
exit status 1
expected '}' at end of input