Working reset, flipped logic
Dependencies: SDFileSystem emic2 mbed-rtos mbed
Fork of BAT_senior_design_Nhi by
buttonArray.h
- Committer:
- aismail1997
- Date:
- 2017-10-27
- Revision:
- 20:abbc12fca525
- Parent:
- 19:ceac47be2e64
- Child:
- 21:c5df903f068a
File content as of revision 20:abbc12fca525:
#include "mbed.h"
#include "button.h"
// This is a button class for our custom button
class buttonArray {
// buttons
private:
// 6 buttons here
button button1;
button button2;
button button3;
button button4;
button button5;
button button6;
int currVal;
public:
// constructors
buttonArray(); // Default
buttonArray(button button1, button button2, button button3, button button4, button button5, button button6);
// functions
int checkVal(); // check buttons ascii representation
};
