Digistump Forums

The Digispark => Digispark (Original) Support => Topic started by: mhc on July 09, 2017, 04:35:41 am

Title: Button input not working
Post by: mhc on July 09, 2017, 04:35:41 am
First off im very sorry for being a noob.

So I built this exactly: https://www.arduino.cc/en/tutorial/button
And used this code: https://digistump.com/wiki/digispark/tutorials/button

With everything but together, the digispark will only reset(and make the PC think it connected-disconnected) and the LED doesnt switch.

If I remove the button and connect pin5 to 5V/GND(with 10k resistor) the program seems to work, but sometimes it still resets.

What am I doing wrong?
Title: Re: Button input not working
Post by: KASA on August 18, 2017, 04:31:16 am
Did you connect the blue wire to pin 5 on the Digispark?