Skip to content

Commit

Permalink
Add pulls to i2c lines
Browse files Browse the repository at this point in the history
  • Loading branch information
mawildoer committed Oct 16, 2024
1 parent 2ffd8a3 commit 2b98056
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions elec/src/base.ato
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,13 @@ module Base:
display = new Header4P
power_3v3 ~ display.power
uc.i2c ~ display.i2c
i2c_pullup_strength = 2.7kΩ +/- 10%
sda_pullup = new Resistor
scl_pullup = new Resistor
sda_pullup.value = i2c_pullup_strength
scl_pullup.value = i2c_pullup_strength
display.sda ~ sda_pullup.p1; sda_pullup.p2 ~ power_3v3
display.scl ~ scl_pullup.p1; scl_pullup.p2 ~ power_3v3


module BattBase from Base:
Expand Down

0 comments on commit 2b98056

Please sign in to comment.