You should have received a copy of the GNU Lesser General Public
See the GNU Lesser General Public License for more details. ProTrinketKeyboard is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. It needs to be positive logic so that a high on the trinket pin applies 5V to the second board.
The License, or (at your option) any later version. I am using an Adafruit Trinket Pro 3.3V and I need to use one of its digital outputs to apply 5V power to another board that only draws 30ma.
Published by the Free Software Foundation, either version 3 of
It under the terms of the GNU Lesser General Public License as ProTrinketKeyboard is free software: you can redistribute it and/or modify See the folder "usbdrv" for V-USB files.Īdafruit's Pro Trinket can do almost anything that V-USB can do, including USB mouse, keyboards, joysticks, gamepads, MIDI devices, and much more (including custom devices that do not fit any existing category). ProTrinketKeyboard uses V-USB ( ) to implement USB with a bitbang technique. Please see ProTrinketKeyboard.h for usage documentation, examples are also included ProTrinketKeyboard allows the user to implement a simple USB keyboard using an Adafruit Pro Trinket (ATmega 328P based) ProTrinketKeyboard is Adafruit's Pro Trinket USB HID Arduino Library Reset button for entering the bootloader or restarting the program.Adafruit Pro Trinket USB Keyboard Library.On-board green power LED and red pin #13 LED.Power with either USB or external output (such as a battery) - it'll automatically switch over.Up to 16V input, reverse-polarity protection, thermal and current-limit protection. On-board 5.0V power regulator with 150mA output capability and ultra-low dropout.Micro-USB jack for power and/or USB uploading, you can put it in a box or tape it up and use any USB cable for when you want to reprogram.Also has headers for an FTDI port for reprogramming.USB bootloader with a nice LED indicator looks just like a USBtinyISP so you can program it with AVRdude and/or the Arduino IDE (with a few simple config modifications).The bootloader does not affect RAM usage. The bootloader on the Pro Trinket use 4KB of FLASH so the maximum sketch size is 28,672 bytes.
The USB connection is for uploading new code only.
This is to keep the Pro Trinket small and inexpensive, you can use any FTDI cable to connect to the FTDI port for a Serial connection.