Skip to content

Commit

Permalink
Merge pull request #413 from vortexntnu/411-task-make-thruster-interf…
Browse files Browse the repository at this point in the history
…ace-runnable-without-i2c

Added the feature
  • Loading branch information
PizzaAllTheWay authored Mar 24, 2024
2 parents cdeaa23 + 95e9356 commit d380c3a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ def __init__(self,
PWM_MIN=[1100, 1100, 1100, 1100, 1100, 1100, 1100, 1100],
PWM_MAX=[1900, 1900, 1900, 1900, 1900, 1900, 1900, 1900]):
# Initialice the I2C comunication
self.bus = None
try:
self.bus = smbus2.SMBus(I2C_BUS)
except Exception as errorCode:
Expand Down

0 comments on commit d380c3a

Please sign in to comment.