User manual
mikroPascal PRO for PIC32
MikroElektronika
317
HW Connection
4x4 Keypad connection scheme
13: kp := 42; // *
14: kp := 48; // 0
15: kp := 35; // #
16: kp := 68; // D
end;
UART1_Write_Text(‘Key pressed: ‘);
UART1_Write(kp); // Send value of pressed button to UART
UART1_Write(10);
UART1_Write(13);
end;
end.