111

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

Fork of 4180_proj by ECE4180proj

Revision:
12:b6265952fb06
Parent:
11:d21c2da8b290
--- a/para.cpp	Wed Dec 02 19:48:56 2015 +0000
+++ b/para.cpp	Mon Dec 07 18:14:51 2015 +0000
@@ -9,13 +9,14 @@
     waveform_type=0; //0 for sine, 
     freq=2000; //Hz
     amp=1.65; //Sacle factor, 1=full range
+
     //offset=1.65;   
 }
 void para::set_type(int a)
 {
     waveform_type = a;
 }
-void para::set_freq(float a)
+void para::set_freq(int a)
 {
     freq = a;
 }
@@ -25,6 +26,6 @@
 }
 
 int para::get_type(){return waveform_type;}
-float para::get_freq(){return freq;}
+int para::get_freq(){return freq;}
 float para::get_amp(){return amp;}
 //float para::get_offset(){return offset;}
\ No newline at end of file