experimental fork

Dependencies:   NOKIA_5110 mbed

Revision:
4:87037e41c888
Parent:
2:66a2e52ad175
Child:
7:6a0958c2be7e
--- a/hvcontrol.cpp	Tue Oct 04 17:08:38 2016 +0000
+++ b/hvcontrol.cpp	Wed Oct 05 16:56:33 2016 +0000
@@ -1,8 +1,6 @@
 #include "mbed.h"
 
-class HVControl{
-    
-private:
+struct HVControl{
     int freq, max_freq, min_freq; // oscillator parameters
     float voltage_ref, divider_value, voltage, thresh, safe_voltage; //hv probe parameters
     PinName oscillator_pin, measure_pin;
@@ -17,8 +15,6 @@
     return (int)(T);
     }
     
-
-public:
     int *hvparams; //array is indexed with the frequency
         
     HVControl(PinName oscillator_pin_, PinName measure_pin_) {