1 551 octets ajoutés
, 8 novembre 2014 à 21:33
{{Trinket-Pro-NAV}}
== Utiliser un cable FTDI ==
{{ADFImage|Trinket-Pro-PinOut-05b.jpg|640px}}
{{ADFImage|Trinket-Pro-FTDI-01.jpg|640px}}
For beginners, we suggest using an FTDI cable for programming and debugging, especially if you aren't simply porting an existing Arduino project to Pro Trinket. Much like many Arduino-compatibles, there's a header for connecting a 'classic' FTDI cable or {{pl|77|FTDI friend}}.
{{ADFImage|Trinket-Pro-PinOut-05.jpg|640px}}
The bootloader on Pro Trinket is '''dual USB & FTDI''' "optiboot" so you can use either the USB port or the FTDI breakout to upload. However, only the FTDI port allows you to use Serial debugging. So it's a bit of a tradeoff - USB is inexpensive, built-in but requires a button press to start & there's no debugging, FTDI requires an extra cable but has auto-reset and debug console.
== Sélectionner la bonne carte ==
Make sure you're selecting the FTDI-program type in the Boards menu!
{{ADFImage|Trinket-Pro-PinOut-10.jpg|640px}}
== Connecter le convertisseur ==
You'll need to solder 6-pin header onto the FTDI breakout first. Match the black wire and green wire with the BLK and GRN markings on the PCB next to the FTDI header
{{ADFImage|Trinket-Pro-PinOut-20.jpg|640px}}
{{ADFImage|Trinket-Pro-PinOut-21.jpg|640px}}
[http://www.ftdichip.com/Drivers/VCP.htm Don't forget you'll need to install FTDI VCP drivers, available from FTDI chip]. Then select the COM port from the Tools menu as well, to upload!
{{ADFImage|Trinket-Pro-PinOut-22.jpg|640px}}
{{Trinket-Pro-TRAILER}}