While trying to use the FTDI header on the 3v Trinket Pro I noticed that all Serial.print() statements where returning garbage, random bytes even with the correct baud rates. I suspected this had something to do with the 3v's 12 mhz clock speed rather then the standard 16. Sure enough I was correct. I should have read the manual!
The easiest way to get around this is to use the Adafruit Arduino IDE from here
https://learn.adafruit.com/introducing-pro-trinket/setting-up-arduino-ide
which contains a flavor of the IDE that has a board entry for the 3v Trinket Pro, and the correct timings for the serial port.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.
P.S. I think they should swap the titles of the "fast way" and the "slow way". I picked the "slow way" (downloading a board definition file and putting in the right location) and found it much less of a hassle than I think the "fast way" (downloading and installing a whole new Arduino IDE) would have been. Took less than 30 seconds: click download button, click zip file in Chrome's downloads bar to unzip, drag folder into Documents/Arduino. Done.
Are you sure? yes | no
Are you sure? yes | no