Basic_sine_wave_generator

Dependencies:   mbed 4DGL-uLCD-SE mbed-rtos AD5206

Revision:
10:159f38636ed4
Child:
11:d21c2da8b290
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/para.h	Tue Dec 01 18:59:42 2015 +0000
@@ -0,0 +1,22 @@
+#ifndef PARA_H
+#define PARA_H
+
+class para {
+public:
+    int waveform_type;
+    int freq;
+    float amp;
+    float offset;
+public:
+    para();
+    void set_type(int);
+    void set_freq(int);
+    void set_amp(float);
+    void set_offset(float);
+    int get_type();
+    int get_freq();
+    float get_amp();
+    float get_offset();
+};
+
+#endif //PARA_H
\ No newline at end of file