Lucky Resistor
Menu
  • Home
  • Learn
    • Learn C++
    • Product Photography for Electronics
      • Required Equipment and Software
    • Soldering for Show
  • Projects
  • Libraries
  • Applications
  • Shop
  • About
    • About Me
    • Contact
    • Stay Informed
  •  
Menu

Build the Software

SETUP THE ARDUINO IDE

If you use the Adafruit Trinket Pro, you need a specially prepared Arduino 1.6.x IDE. 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.

Next you have to enable C++11 features to build my code. Locate the file platform.txt in your Arduino installation. Search for the line compiler.cpp.flags=... and add -std=c++11 at the end of this line. The final line should look like this:

compiler.cpp.flags=-c -g -Os {compiler.warning_flags} -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -std=c++11

DOWNLOAD THE SOFTWARE

Go to the following GITHub project page to the shown release.

  • https://github.com/LuckyResistor/DataLoggerDeluxe

On the project page click on the “Download 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.

Leave a Reply Cancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Stay Updated

Join me on Mastodon!

Top Posts & Pages

  • Storage Boxes System for 3D Print
  • Event-based Firmware (Part 1/2)
  • Build a 3D Printer Enclosure
  • Yet Another Filament Filter
  • Circle Pattern Generator
  • Circle Pattern Generator
  • Real Time Counter and Integer Overflow
  • Projects
  • Logic Gates Puzzle 11
  • Units of Measurements for Safe C++ Variables

Latest Posts

  • Better Bridging with Slicer Guides2023-02-04
  • Stronger 3D Printed Parts with Vertical Perimeter Linking2023-02-02
  • Logic Gates Puzzle 1012023-02-02
  • Candlelight Emulation – Complexity with Layering2023-02-01
  • Three Ways to Integrate LED Light Into the Modular Lantern2023-01-29
  • The 3D Printed Modular Lantern2023-01-17
  • Rail Grid Alternatives and More Interesting Updates2022-12-09
  • Large Update to the Circle Pattern Generator2022-11-10

Categories

  • 3D Printing
  • Build
  • Common
  • Fail
  • Fun
  • Learn
  • Projects
  • Puzzle
  • Recommendations
  • Request for Comments
  • Review
  • Software
Copyright (c)2022 by Lucky Resistor. All rights reserved.