In this tutorial , we are going to learn how to use keypad. We are going to read which button is pressed on keypad and its value will be printed on the display.
4x4 keypad
In adjecent image 4x4 keypad is shown. It has 16 buttons , 0 to 9 , A,B,C,D,*,# .
Blocks We are going to use
keypad block is in the 'other' catagory.
keypad
This block gives which button is pressed on the keypad. In the following image, values are shown for corresponding buttons
Example
keypad
.txt
Download TXT • 791B