File tree 3 files changed +3
-0
lines changed
3 files changed +3
-0
lines changed Original file line number Diff line number Diff line change 6
6
from adafruit_emc2101 .emc2101_lut import EMC2101_LUT as EMC2101
7
7
8
8
i2c = board .I2C () # uses board.SCL and board.SDA
9
+ # i2c = board.STEMMA_I2C() # For using the built-in STEMMA QT connector on a microcontroller
9
10
10
11
FAN_MAX_RPM = 1700
11
12
emc = EMC2101 (i2c )
Original file line number Diff line number Diff line change 6
6
from adafruit_emc2101 .emc2101_lut import EMC2101_LUT as EMC2101
7
7
8
8
i2c = board .I2C () # uses board.SCL and board.SDA
9
+ # i2c = board.STEMMA_I2C() # For using the built-in STEMMA QT connector on a microcontroller
9
10
10
11
emc = EMC2101 (i2c )
11
12
emc .set_pwm_clock (use_preset = False )
Original file line number Diff line number Diff line change 6
6
from adafruit_emc2101 import EMC2101
7
7
8
8
i2c = board .I2C () # uses board.SCL and board.SDA
9
+ # i2c = board.STEMMA_I2C() # For using the built-in STEMMA QT connector on a microcontroller
9
10
emc = EMC2101 (i2c )
10
11
while True :
11
12
print ("Setting fan speed to 25%" )
You can’t perform that action at this time.
0 commit comments