FSG / Battery_Linear_Actuator

Dependents:   7_21_17_FSG 7_26_17_FSG

Fork of Battery_Linear_Actuator_ by FSG

Revision:
0:645ad86abcba
Child:
1:ca2454ef80d9
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Battery_Linear_Actuator.h	Fri Jun 09 17:32:14 2017 +0000
@@ -0,0 +1,40 @@
+#ifndef BATTERY_LINEAR_ACTUATOR_H
+#define BATTERY_LINEAR_ACTUATOR_H
+
+#include <string>
+using namespace std;
+
+class Battery_Linear_Actuator
+{
+    //CLASS VARIABLES and DEFINITIONS
+    int motor_absolute_position; 
+    //float pot_check_inches;   
+    
+    int linear_actuator_step_size;   //default confirmed with Dan Edwards
+    int linear_actuator_motor_speed;  //5 seconds of full travel between 0 and 175,000 (1000 is about 3 seconds)
+    
+    int map_check;
+
+public:
+    Battery_Linear_Actuator();    //pass variables to a constructor (don't need anything passed to it)
+    
+    
+    //KEYBOARD FUNCTIONS
+    string Keyboard_A();
+    string Keyboard_D();
+    string Keyboard_E();             //don't forget the semi-colon!
+    string Keyboard_H();
+    string Keyboard_I();
+    string Keyboard_O();             
+    void Keyboard_P();  
+    string Keyboard_Q();                        
+    int MC_readable();
+    
+    string Keyboard_LEFT_BRACKET();
+    string Keyboard_RIGHT_BRACKET();
+    
+    string Keyboard_EQUAL_KEY();
+    string Keyboard_DASH_KEY();
+};
+
+#endif /* BATTERY_LINEAR_ACTUATOR_H_ */
\ No newline at end of file