Firmware (Teensy)
Last updated
Was this helpful?
Last updated
Was this helpful?
A Makefile and Arduino project for building the Teensy Fan Controller firmware. Sources are contained in the .
Prepare the project (once), as described in
Enter the teensy_fan_controller
directory:
Compile from source:
Upload to Teensy 3.x:
Copy teensy_fan_controller/libraries/nanopb
into your user's Arduino libraries folder (fe. ~/Documents/Arduino/libraries/
)
Copy teensy_fan_controller/libraries/PID
into your user's Arduino libraries folder (fe. ~/Documents/Arduino/libraries/
)
Launch Arduino Studio, and open project teensy_fan_controller/src/src.ino
Set Tools > Board to your Teensy board using the top menu
Set Tools > USB Type to Raw HID using the top menu
Build and upload firmware using Sketch > Upload, or by clicking the Upload button in the toolbar
After the project is prepared, the teensy_fan_controller/
folder has the following structure:
src/src.ino
contains the loop()
and setup()
functions, called by teensy3/main.cpp
src/*.{ino,c,h,cpp}
Teensy Fan Controller sources
Makefile
file, copied and modified from teensy3/Makefile
Prepare the project (once), as described in
teensy3
sub-folder is taken from
tools
sub-folder is taken from
49-teensy.rules
file is taken from