Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: C12832_lcd LM75B mbed
keypadd.cpp
00001 #include "mbed.h" 00002 #include "keypad.h" 00003 00004 Button::Button(PinName pin, void (*cbFunc)(void)) : 00005 _interrupt(pin) 00006 { 00007 _interrupt.rise(cbFunc); 00008 } 00009 00010 Keypad::Keypad( PinName pinLeft, void (*cbLeft)(void), 00011 PinName pinRight, void (*cbRight)(void), 00012 PinName pinStart, void (*cbStart)(void), 00013 PinName pinStop, void (*cbStop)(void), 00014 PinName pinDoor, void (*cbDoor)(void) ) : 00015 left(pinLeft, cbLeft), 00016 right(pinRight, cbRight), 00017 start(pinStart, cbStart), 00018 stop(pinStop, cbStop), 00019 door(pinDoor, cbDoor) 00020 { 00021 } 00022
Generated on Sat Jul 16 2022 20:54:38 by
1.7.2