0

0

To start with, show us your code.

You say in the code:-

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:-

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?