Use your smartphone touch screen as a keyboard. This shield gives you the advantage to send ASCII characters to
your Arduino and trigger certain actions written in your sketch. Learn more from the examples page.
This shield is one of the I/O shields. I/O shields provides simple function of using your smartphone as input or output to Arduino. Learn more from the I/O shields tutorial.
Keyboard Library converts your smartphone to an Ascii keyboard so that you can send characters one by one to Arduino and take actions.
Adding #define CUSTOM_SETTINGS along with #define INCLUDE_KEYBOARD_SHIELD is a key that will let you unlock the Keyboard shield only amongst all shields and prevent 1Sheeld library from eating your memory specially for UNO board.
Gets a certain character from the application.
character in type “char” pressed on the application’s keyboard.
&userFunctionName: takes the physical address of the userFunction in the memory and jump to it once called to execute it’s functionality.
/* myFunction exists under the loop function. */
/* This function will be invoked each time a new button is pressed in the Keyboard. */
void myFunction (char pressedCharacter)
/*Turn On the LED if ‘A’ else turn Off. */
if(pressedCharacter == ‘A’)