4/1/2024 0 Comments Adafruit trinket 5vI tried two different Trinkets, multiple LEDs, multiple wires and resistors, but nothing seems to work. The built-in LED on the Trinket blinks, but not an external LED. Yet the LED does not blink! I am losing my mind over this, I cannot find a solution why it wont work. initialize the digital pin as an output.įinally, I ran the code and it said successfully uploaded. Then for my code, I found this online: int led = 2 I triple checked the wiring and it is fine. I attached a wire from the #2 pin of the Trinket to a resistor to the long leg of the LED, and then attached the Ground pin to the short leg of the LED. So the very first thing I tried was to make an LED blink. Obviously, I decided to start off with a smaller project and work my way up so I could understand what I was doing. Recently I bought an “Adafruit Trinket - Mini Microcontroller - 5V Logic” to do a project involving transmitting and receiving 315Mhz to find a lost item by having the receiver attached to the lost item make a sound when signaled to. First off, sorry for this extremely basic question, I’m quite new to Arduino in general.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |