Fork of original senior design repo
Dependencies: SDFileSystem mbed-rtos mbed wave_player emic2
Fork of BAT_senior_design by
buttonArray.h
00001 #include "mbed.h" 00002 #include "button.h" 00003 00004 // This is a button class for our custom button 00005 class buttonArray { 00006 00007 // buttons 00008 private: 00009 // 6 buttons here 00010 button button1; 00011 button button2; 00012 button button3; 00013 button button4; 00014 button button5; 00015 button button6; 00016 int currVal; 00017 00018 public: 00019 // constructors 00020 buttonArray(); // Default 00021 buttonArray(button button1, button button2, button button3, button button4, button button5, button button6); 00022 // functions 00023 int* wrongPins(char input, char actual); 00024 char checkVal(); // return buttons ascii representation 00025 void releaseButtons();// release all buttons; 00026 int* pinsUp(char val); 00027 char* getBraille(char val); 00028 void setup(); 00029 };
Generated on Thu Jul 14 2022 07:22:21 by
1.7.2
