From f63f498b42ea57755d5156428ab06fcd478d422f Mon Sep 17 00:00:00 2001 From: Siwat Sirichai Date: Fri, 29 Dec 2023 00:52:14 +0700 Subject: [PATCH] Update AnalogCard.cpp --- Template Project/lib/ESPMegaPRO/AnalogCard.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Template Project/lib/ESPMegaPRO/AnalogCard.cpp b/Template Project/lib/ESPMegaPRO/AnalogCard.cpp index 3c6d817..e4accba 100644 --- a/Template Project/lib/ESPMegaPRO/AnalogCard.cpp +++ b/Template Project/lib/ESPMegaPRO/AnalogCard.cpp @@ -77,10 +77,6 @@ uint16_t AnalogCard::analogRead(uint8_t pin) } bool AnalogCard::begin() { - this->dac0 = MCP4725(DAC0_ADDRESS); - this->dac1 = MCP4725(DAC1_ADDRESS); - this->dac2 = MCP4725(DAC2_ADDRESS); - this->dac3 = MCP4725(DAC3_ADDRESS); if (!this->dac0.begin()) { Serial.println("Card Analog ERROR: Failed to install DAC0");