It could be a pin on the trinket that has power for 1, or no power for 0 (could this be possible with one of the USB pins?). Adafruit Trinket M0 (the ATSAMD21R18 version) a push button of some sort (non-latching is the best) some wiring to connect the button to the Trinket soldering iron, solder (the rosin-flux kind) USB 2.0 cable, type A Male to Micro B (you can use the cable you use to connect your Android phone to your PC if you have one). To get your Trinket and Pi connected, you’re going to need a few bits and bobs. Arduino Robotic Projects starts with the fundamentals of turning on the basic hardware and then provides complete, step-by-step instructions that allow almost. The 3 remaining pins are reserved for power, ground and reset. Arduino is an open source microcontroller, built on a single circuit board that is capable of receiving sensory input from the environment and controlling interactive physical objects. I really only need to send an "on" or an "off" signal to the trinket somehow. Two of these can be configured as analog inputs and two as PWM outputs. I figured I'd ask here to see if someone might have some insight. HIDSerial never detects my trinket, and believe me, I've fiddled with both of them for hours (including downgrading gcc-avr just so it can recognize the -assembler-with-cpp flag, which is apparently just not there in the newest version). Adafruit admits that they've never tried the TrinketFakeUsbSerial on Linux (we do use linux at work), and I can't get it work for the life of me. I've tried the two "simple" solutions provided by Adafruit - the TrinketFakeUsbSerial, and HIDSerial.
Unfortunately, I didn't know that the trinket doesn't support serial communication like that. I got all of this working pretty easily on the UNO - I simply send a 1 over serial if the test suite is failing, and a 0 if it's not. I bought an Adafruit Trinket thinking it would be perfect for the project, since I really only need 3 GPIO pins (one for a green LED that will be on when the test suite isn't failing), one for the red LED, and one for the buzzer. I want to make a little device that will sit on my desk and flash a red LED, and make a really annoying sound with a buzzer when someone on our team commits code that causes our test suite to fail. I want to make a little device that will sit on my desk and flash a red LED, and make a really annoying sound with a buzzer when someone on our team commits code that causes our test suite to fail.