不韋 呂 / UIT_ADDA

Dependents:   UIT2_MovingAverage UIT2_AllpassReverb UIT2_CombReverb UIT2_FIR_LPF_Symmetry ... more

Files at this revision

API Documentation at this revision

Comitter:
MikamiUitOpen
Date:
Thu Oct 23 00:06:55 2014 +0000
Parent:
2:2a3b4ed3eb58
Child:
4:6e228f373c6f
Commit message:
4

Changed in this revision

DAC_MCP4922.hpp Show annotated file Show diff for this revision Revisions of this file
--- a/DAC_MCP4922.hpp	Wed Oct 22 12:46:07 2014 +0000
+++ b/DAC_MCP4922.hpp	Thu Oct 23 00:06:55 2014 +0000
@@ -8,7 +8,7 @@
 //      D12  SPI Slave Select
 //      D10  to MCP4922 LDAC pin
 //
-// 2014/10/22, Copyright (c) 2014 MIKAMI, Naoki
+// 2014/10/23, Copyright (c) 2014 MIKAMI, Naoki
 //------------------------------------------------------
 
 #ifndef DAC_MCP4922_HPP
@@ -26,7 +26,7 @@
 
         // Constructor
         DAC_MCP4922(
-            DAC dac,
+            DAC dac = DAC_A,            // channel A
             PinName mosi = SPI_MOSI,    // D11
             PinName sclk = SPI_SCK,     // D13
             PinName cs   = SPI_CS,      // D10