IR led will not transmit if I try to digitalread in my code

Hi,

Asymic:
Thank you all for looking at this problem, here is a quick update, as I spent a lot of time looking at what was going wrong,

Reading the datasheet for the 328 and the error in the compiled code I finally found it!

What was the cause of your problem?
Please post the cause here so that the spirit of the forum is preserved.

  • You had a problem and asked the forum for help.
  • You have solved your problem.
  • This forum is to help everybody.
  • So to help someone else who might end up in your situation, PLEASE post your solution.
  • Please post a working copy of your code.

Thanks.. Tom... :slight_smile: