Update AnalogCard.cpp
This commit is contained in:
parent
3fd026d9bb
commit
f63f498b42
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue