2nd year embedded systems project

Dependencies:   mbed C12832

Revision:
1:9d7c34bfe43e
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Solenoid.h	Tue Dec 15 18:15:48 2020 +0000
@@ -0,0 +1,23 @@
+#ifndef Solenoid_H
+#define Solenoid_H
+
+#include <mbed.h>
+
+class   Solenoid {
+
+    public:
+        Solenoid (PinName targetSolenoidPin);
+        ~Solenoid ();
+        bool SetSolenoidStatus (bool Status);
+        //float distance
+        
+    private:
+        DigitalOut solenoid;
+
+};
+      
+#endif
+    
+    
+
+