Skip to content

Flashing the Firmware (Arduino)

Thijs Tops edited this page Apr 4, 2022 · 2 revisions

Requirements

  • Download and install the Arduino IDE
  • Connect FreeDeck to your computer.
  • Open the Arduino IDE
  • Under Tools -> Board -> Arduino AVR Board select Arduino Micro
  • Under Ports select the Arduino

Installing the Libraries

  • Go to Tools -> Manage Libraries
  • Search for sdfat and install the newest 1.x.x version. Version 2 or newer won't work
  • Search for hid-project and install the newest 2.x.x version.

Downloading the Firmware

  • Download the firmware by clicking here (Unstable Develop version here)
  • Unpack the Zip-File to a desired location. You may need it more than once.

Flashing the Firmware

  • Open the Arduino project (app.ino)
  • On the top left corner press the arrow-to-left button to upload the firmware.
  • If you are lucky, everything works perfectly now! If not, go here

Tweaking the settings.

In the settings.h file which you can find next to the app.ino you can tweak some settings to make the FreeDeck firmware place more nicely with you specific set of screens. You can open the settings.h file with the Arduino-IDE.

  • IMG_CACHE_SIZE around line 28 (can sometimes change) defines how small the slices are in which parts of each image are sent to your display. You can vary this value between 64, 128, 256 and 512. Different screens like different values. Change the number, save the file and upload/flash the firmware again.
  • I2C_DELAY normaly not needed to be altered. But if your screens are very slow change this to maybe 3 or 4. Save and upload again.