Bob Merrison-Hort
/
elec350
Fork of elec350 by
Diff: button.cpp
- Revision:
- 6:1eee8ba927fe
- Parent:
- 4:549d1d8ca969
- Child:
- 7:aa63d1e53be6
--- a/button.cpp Thu Oct 15 16:35:49 2015 +0000 +++ b/button.cpp Thu Oct 15 16:55:27 2015 +0000 @@ -7,6 +7,7 @@ // to the pin for the selected button (only one button at the // moment. if (name == "user") { + this->pin = new DigitalIn(PA_0); } }