Go Down

Topic: 0 (Read 1 time) previous topic - next topic

WolfgangZeisig

Mar 11, 2014, 09:49 pm Last Edit: Mar 14, 2014, 01:24 am by WolfgangZeisig Reason: 1
0

larryd

To start with, show us your code.
No technical PMs.
If you are asked a question, please respond with an answer.
If you are asked for more information, please supply it.
If you need clarification, ask for help.

Grumpy_Mike

You say in the code:-
Quote
this section is were i am have trouble. pin 10 should go high for 10/100 of a second only once

but you say in the text:-
Quote
I am trying to set led pin10 high for 1 sec. as soon as pin 9 gets high.

Those two do not add up.

Why have you got code commented out all over the place?

Your code is very untidy. You should put all the global variable definitions at the start, not squeezed between functions.
Why are you reading the digital pins that are outputs. You are setting these pins so you should known what they are at any time without reading them.

Just what are you trying to make?

Go Up