Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
5 years, 11 months ago.
Keypad example dosen't work
Keypad.cpp example dosen't work. I am use Keypad.h librarie but the program dosen't compile.
This is the error:
Compiler Error L6218E Undefined symbol Keypad::start() (referred from ../../build/main.NUCLEO_F429ZI.o).
The program I am use is:
Import library
Public Member Functions |
|
Keypad (PinName r0, PinName r1, PinName r2, PinName r3, PinName c0, PinName c1, PinName c2, PinName c3, int debounce_ms=20) | |
Create a 4x4 (row, col) or 4x3 keypad interface:
|
|
~Keypad () | |
Destructor.
|
|
void | start (void) |
Start the keypad interrupt routines.
|
|
void | stop (void) |
Stop the keypad interrupt routines.
|
|
void | attach (uint32_t(*fptr)(uint32_t)) |
User-defined function that to be called when a key is pressed.
|