Testing 1 blue pill

Dependencies:   mbed mbed-rtos TextLCD

Revision:
17:68b3fdabe4c5
Parent:
16:9f98ec0ededb
Child:
21:6d9f6a986647
--- a/Interface/Interface.hpp	Mon Feb 11 22:03:47 2019 +0000
+++ b/Interface/Interface.hpp	Tue Feb 12 10:03:05 2019 +0000
@@ -2,29 +2,29 @@
 #define INTERFACE_HPP
 
 #include "mbed.h"
-#include "STEPPER_MOTOR.hpp"
+#include "STEPPER_MOTOR.hpp" //Include this to use the stepper motor
 
 static STEPPER_MOTOR STEPPER_MOTOR_1(D15,D14,D13,D12);
 
+
 class INTERFACE                       //This creates a class called Led
 { 
 public: 
     //Public member variables
 
     //Public Member Functions
-    INTERFACE(); //Constructor
-    ~INTERFACE();                                 //Destructor
+    INTERFACE(int Default_Turns); //Constructor
+    ~INTERFACE();//Destructor
     
-    void Interface_Init();
-    void Up();
-    void Down();
-    void Start_Stop();
-    void Function();
-    void Select();
-    void Interface_main();
+    void Interface_Init();//Set all values to 0
+    void Up();//Up Routine
+    void Down();//Down Routine
+    void Start_Stop();//Start / Stop Routine
+    void Function();//Function Routine
+    void Select();//Select Routine
+    void Interface_main();//Main Routine
 
-    //Setters
-
+    //Setters to assign data to the private memeber variables
     void Set_No_Of_Rotations(int Rotations);
     void Set_Function(int Function);
     void Set_Twist_Go(bool Twist_Go);
@@ -38,7 +38,7 @@
     void Set_Duty_Cycle(int Duty_Cycle);
     void Set_Power_Time(float Power_Time);
     
-    //Getters
+    //Getters to receive private information
     int Get_No_Of_Rotations();
     int Get_Function();
     bool Get_Twist_Go();