From ac13b9be66ebc2d4a5b0699052a3a39f96136584 Mon Sep 17 00:00:00 2001 From: Kevin Santo Cappuccio Date: Mon, 28 Aug 2023 10:29:15 -0700 Subject: [PATCH] Fixed rev 2 support --- Hardware/.DS_Store | Bin 8196 -> 8196 bytes Hardware/KiCAD/.DS_Store | Bin 8196 -> 8196 bytes JumperlessNano/src/Peripherals.cpp | 6 +++--- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Hardware/.DS_Store b/Hardware/.DS_Store index 3c6785039b0da1b61e72dcd8cb90aca3178cbdf2..de6ad028a3786ee5ea1f08183674ee2acc11ec9f 100644 GIT binary patch delta 138 zcmZp1XmOa}&nUAoU^hRb%w!&cIXp?_#RW+@`AG~63_B(-6D(AhsIE4$G}citHZ!l) zQK+^wGSE>lF*d8M<>U}m*0&Cd&(6us%kP@(C?wC=J=sA(ZSo3%y^~u7lzGa6i}G^v p^U{GvF>X#03}j?}xz%a%HX(Tsz4?ZaFw16kiEk{M9}2TG0|0G4D_#Hq delta 88 zcmZp1XmOa}&nUGqU^hRb)MOrkIg=*|?%mudgpnDjX)=$v`ea*C9uRvok2otEl2-Cf0-E{*0C>hNK>z>% delta 162 zcmZp1XmQwZPlWlcTioP_A_i=qb5d@wI86R1q&nF~loyFBXk3tC7@VA+TfhJWEbkl` pCa)Kj+B{#>gpv8@x7f)%;_8!aMR`E%%{=0)Y)D$kHwkF!4*;rPIa~k$ diff --git a/JumperlessNano/src/Peripherals.cpp b/JumperlessNano/src/Peripherals.cpp index cb8ef0c..2621e6c 100644 --- a/JumperlessNano/src/Peripherals.cpp +++ b/JumperlessNano/src/Peripherals.cpp @@ -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);