不韋 呂
/
UIT2_MovingAverage
Moving average for ST Nucleo F401RE. The number of average is controled by sw.
Diff: main.cpp
- Revision:
- 2:bf617231c9bd
- Parent:
- 1:2b1ce47a1fd7
- Child:
- 4:5a068d9ef168
diff -r 2b1ce47a1fd7 -r bf617231c9bd main.cpp --- a/main.cpp Wed Oct 29 23:46:29 2014 +0000 +++ b/main.cpp Wed Oct 29 23:57:49 2014 +0000 @@ -49,6 +49,6 @@ xn[k] = xn[k-1]; //----------------------------------------------- - myDac_.Write(yn); // Write to DAC + myDac_.Write(yn); // Write to DAC } }