mirror of
https://github.com/Architeuthis-Flux/Jumperless.git
synced 2024-11-24 07:10:11 +01:00
Fixed rev 2 support
This commit is contained in:
parent
70b278076f
commit
ac13b9be66
BIN
Hardware/.DS_Store
vendored
BIN
Hardware/.DS_Store
vendored
Binary file not shown.
BIN
Hardware/KiCAD/.DS_Store
vendored
BIN
Hardware/KiCAD/.DS_Store
vendored
Binary file not shown.
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user