Driver C++ source code for MAX5216/MAX5214 16-bit/14-bit DAC SPI (50MHz) bus ICs. Low power Digital-to_Analog Converter chips which accept supply voltages of 2.7V to 5.5V. Features Rail-to-Rail Buffered Output Operation and Safe Power-On Reset (POR) to Zero DAC Output.

Dependents:   MAX5216_16_Bit_DAC_Hello_Code

Fork of MAX5487_Digital_Pot_Potentiometer_Rheostat_Resistor_Wiper by Kevin Jung

Revision:
7:1132d5fab5c7
Parent:
6:cd8d96483262
--- a/MAX5216.cpp	Sat Aug 18 09:36:53 2018 +0000
+++ b/MAX5216.cpp	Thu Sep 06 21:23:25 2018 +0000
@@ -37,7 +37,7 @@
     m_pin = 1;
 }
  
-void MAX5216::writeCommand(setting_t setting, uint32_t value, pwrDwnMode_t mode)
+void MAX5216::write_command(setting_t setting, uint32_t value, pwrDwnMode_t mode)
 {
     
     char val[3] = {0, 0, 0};