Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: UIT2_MovingAverage UIT2_AllpassReverb UIT2_CombReverb UIT2_FIR_LPF_Symmetry ... more
Diff: DAC_MCP4922.cpp
- Revision:
- 19:900efc6796d4
- Parent:
- 18:0bfced9d5526
--- a/DAC_MCP4922.cpp Thu Jan 29 07:55:04 2015 +0000
+++ b/DAC_MCP4922.cpp Fri Jan 30 07:22:28 2015 +0000
@@ -1,7 +1,7 @@
//------------------------------------------------------
// Class for single DAC in MCP4922
//
-// 2015/01/29, Copyright (c) 2015 MIKAMI, Naoki
+// 2015/01/30, Copyright (c) 2015 MIKAMI, Naoki
//------------------------------------------------------
#include "DAC_MCP4922.hpp"
@@ -34,6 +34,7 @@
// Set DAC to 0
WriteDac(0);
+ Wait();
while (IsBusy()) {}
}
@@ -62,3 +63,4 @@
}
}
+