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.
Diff: MCP4822.cpp
- Revision:
- 1:f3de66b30fc3
- Parent:
- 0:929babff65b1
- Child:
- 2:2b1457f78377
diff -r 929babff65b1 -r f3de66b30fc3 MCP4822.cpp
--- a/MCP4822.cpp Mon Mar 23 07:53:55 2015 +0000
+++ b/MCP4822.cpp Thu Feb 25 12:18:14 2021 +0000
@@ -32,12 +32,12 @@
}
-
+ /*
MCP4822::MCP4822(PinName nLDAC, PinName mosi, PinName miso,PinName sck, PinName nCs) : _nLDAC(nLDAC), _mosi(mosi), _miso(miso), _sck(sck), _nCs(nCs)
{
SPI _spi(_mosi,_miso,_sck);
}
-
+ */
void MCP4822::a(bool gain, int data)
{
_write(0, gain, 1, data);