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
Revision 3:77bc5550dc10, committed 2014-10-23
- 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