Fixed rev 2 support

This commit is contained in:
Kevin Santo Cappuccio 2023-08-28 10:29:15 -07:00
parent 70b278076f
commit ac13b9be66
3 changed files with 3 additions and 3 deletions

BIN
Hardware/.DS_Store vendored

Binary file not shown.

Binary file not shown.

View File

@ -78,8 +78,8 @@ void initADC(void)
void initDAC(void)
{
// Wire.begin();
if (dac1_8V.begin(MCP4725A1_Addr_A01, i2c0, 3000, 4, 5) == true)
Wire.begin();
if (dac1_8V.begin(MCP4725A1_Addr_A01, i2c0, 400, 4, 5) == true)
{
revisionNumber = 2;
@ -89,7 +89,7 @@ void initDAC(void)
calib[1] = 150;
dac0_5V.begin(MCP4725A1_Addr_A00, i2c0, 3000, 4, 5);
dac0_5V.begin(MCP4725A1_Addr_A00, i2c0, 400, 4, 5);
//
delay(1);