Digistump Forums
Back to Digistump.com
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
Digistump Forums
»
The Digispark
»
Digispark (Original) Support
»
Button input not working
« previous
next »
Print
Pages: [
1
]
Author
Topic: Button input not working (Read 1598 times)
mhc
Newbie
Posts: 1
Button input not working
«
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?
Logged
KASA
Newbie
Posts: 34
Re: Button input not working
«
Reply #1 on:
August 18, 2017, 04:31:16 am »
Did you connect the blue wire to pin 5 on the Digispark?
Logged
Print
Pages: [
1
]
« previous
next »
Digistump Forums
»
The Digispark
»
Digispark (Original) Support
»
Button input not working