-
Notifications
You must be signed in to change notification settings - Fork 5
Arduino IDE
-
Teensyduino is not compatible to the WEB Editor version of Arduino
-
Arduino can be used in a portable mode. This is for example useful if you want to "freeze" a setup including compiler, Teensyduino and libraries for a special project. See here for details. https://www.arduino.cc/en/Guide/PortableIDE and this forum post
-
Portable mode is checked/activated as the IDE opens. So closing the IDE and renaming the 'portable' directory can easily be used to create an environment where it is used or not used.
-
For Windows only: The Windows app is not compatible to Teensyduino
-
Before installing the newest version of the IDE make sure that it is supported by Teensyduino. You find this information on the Teensyduino download page
Within the IDE 'Ctrl+T' is the 'Tools / Auto Format'. It applies a reasonable set of indents and formatting to some standard. This is best used before posting code to the FORUM. Additionally when looking for build or syntax errors it can quickly point to a missing brace or other error that can result in compiler confusion in indicating the true source of the error.
Noted below the hex file is placed in a TEMP directory. Manually deleting the intermediate files and folders in that TEMP folder will force a clean build. Also closing and reopening the IDE would force a clean build. Generally a change to the 'Tools' menu for the build or board type has resulted in a rebuild, of course if the change makes the build not be as desired, it requires a change back and another rebuild.
The hex file location during a normal build is in a TEMP directory - the path to that will show in the console window when Verbose output is selected in 'File / Preferences'.
Additionally using [both on the 'Sketch' menu] 'Ctrl + Alt + S' will 'Export a compiled Binary' into the Sketch folder. To 'Show Sketch Folder' use 'Ctrl + K'. That file can then be saved or moved.
To maintain one or more installs without using the executable installer the 'ZIP' file can be downloaded and extracted to any folder. In that folder is 'arduino.exe' that will start the IDE. To install TeensyDuino - point to that folder.
2+2=4
Teensy is a PJRC trademark. Notes here are for reference and will typically refer to the ARM variants unless noted.