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:
- 3:7484c0fe6f4d
- Parent:
- 2:e60995ceccbd
diff -r e60995ceccbd -r 7484c0fe6f4d MCP4822.cpp
--- a/MCP4822.cpp Fri Feb 15 16:28:57 2013 +0000
+++ b/MCP4822.cpp Mon Mar 04 17:06:01 2013 +0000
@@ -61,4 +61,8 @@
void MCP4822::shutdownB() {
write(true, false, 0, true);
+}
+
+void MCP4822::chipSel(){
+ cs = !cs;
}
\ No newline at end of file