adafruit/Adafruit_MCP4725

TWBR Not Declared

bpsengineer opened this issue · 1 comments

When I try to compile the examples, I receive the following errors:
C:\Users\Brian\Documents\Arduino\libraries\Adafruit_MCP4725\Adafruit_MCP4725.cpp: In member function 'void Adafruit_MCP4725::setVoltage(uint16_t, bool)':
C:\Users\Brian\Documents\Arduino\libraries\Adafruit_MCP4725\Adafruit_MCP4725.cpp:67:22: error: 'TWBR' was not declared in this scope
uint8_t twbrback = TWBR;
^
Error compiling.

How do I fix this? I downloaded the library on 10/30/2015 and am using IDE 1.6.5

Solved by compiling for Uno instead of Due