Pages: 1 2 [3]   Go Down
Author Topic: analog input issuses  (Read 3126 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 18
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

pin change interrupts?
what does that mean?

what do you think about trying to write my own sketch?
Logged

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 309
Posts: 26495
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Your start button code indicates it was written to be connected to one of the two external interrupt pins on the Arduino (pins two and three), but you said early on that you damaged pin two, so moved the button to one of the analogue pins.
All pins have a pin change interrupt capability which you could use, and I think if you look in the Playground, you may even find a library to help you.

By far the simplest option (for now) is to put the code back to how it was, and replace the processor.
Logged

"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

Offline Offline
Newbie
*
Karma: 0
Posts: 18
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

i did think about getting a new board. i may do that if the pin interupt thing dont work.
thanks alot for all your help.
Logged

UK
Offline Offline
Shannon Member
****
Karma: 223
Posts: 12630
-
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

i did think about getting a new board

Note that 'getting a new board' and 'replacing the processor' are two different things.
Logged

I only provide help via the forum - please do not contact me for private consultancy.

Offline Offline
Newbie
*
Karma: 0
Posts: 18
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

ya i know. but a whole new board will probably be the easiest.
Logged

UK
Offline Offline
Shannon Member
****
Karma: 223
Posts: 12630
-
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

(Shrug.) Plugging a chip into a socket isn't rocket science, but it's your money.
Logged

I only provide help via the forum - please do not contact me for private consultancy.

Pages: 1 2 [3]   Go Up
Jump to: