Skip to content

Repository files navigation

Arduino Thermal Fan Control

Python client for the Arduino sketch in ArduinoThermalFanControl.ino.

Install

python -m pip install -r requirements.txt
python -m pip install -e .

Usage

fromarduino_thermal_fan_controlimportconnectcontroller=connect(vid=0x2341, pid=0x0069)
try:
controller.set_fan_speed(75)
controller.set_reject_heater(False)
finally:
controller.close()

If you already know the serial port:

fromarduino_thermal_fan_controlimportThermalFanControllerwithThermalFanController(port="/dev/ttyACM0") ascontroller:
controller.set_fan_speed(50)
controller.set_motor_heater(True)

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages