Setup the Arduino IDE
To build the software, you need a special prepared Arduino 1.6.x IDE and two libraries. Follow the instructions on the following page to setup the Arduino IDE:
Setup Arduino 1.6.x IDE for Pro Trinket
After this setup, try to install and run the “Blink” example sketch. It will blink the red LED on the microcontroller board.
the Minimal Version
Install the Required Libraries
Now install the required libraries. In the open Arduino IDE go to “Sketch” ➡︎ “Include Library” ➡︎ “Manage Libraries…”. Search in this list for the following libraries:
- RTClib (not TinyRTC)
- DHT sensor library (not Adafruit DHT Unified)
Download THE Software from GITHub
Go to the following GITHub project page to the shown release.
On the project page click on the “Source Code (zip)” link to download the software. Unpack the software to your Arduino project folder and open the .ino file.
The Simple Version
INSTALL THE REQUIRED LIBRARIES
Now install the required libraries. In the open Arduino IDE go to “Sketch” ➡︎ “Include Library” ➡︎ “Manage Libraries…”. Search in this list for the following librariy:
- RTClib (not TinyRTC)
DOWNLOAD THE SOFTWARE FROM GITHUB
Go to the following GITHub project page to the shown release.
On the project page click on the “Source Code (zip)” link to download the software. Unpack the software to your Arduino project folder and open the .ino file.
Build the Software
Click on “Verify” to build the software. If you installed all libraries and setup the IDE correctly it will build the sketch without errors.
Upload the Software
Connect your TTL cable to the microcontroller, press the reset button on the microcontroller and click on “Upload” while the red LED is still flashing. The sketch should be uploaded and start on the microcontroller. Check the output on the serial console if everything works as expected.
Continue reading: Understand the Software