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: SDFileSystem emic2 mbed-rtos mbed
Fork of BAT_senior_design_Testnew 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(char* braille); // 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 Tue Jul 12 2022 16:58:49 by
1.7.2
