One LED works as expected. The sensor and PIC work together. The code looks OK.
Are you by chance missing an IR LED? Maybe that is the one not lighting, or on the wrong pin?
One LED works as expected. The sensor and PIC work together. The code looks OK.
Are you by chance missing an IR LED? Maybe that is the one not lighting, or on the wrong pin?
Dave
Always wear safety glasses while programming.
Bookmarks