You can READ the state of a pin anytime. Even if it is configured as an output.
You can READ the state of a pin anytime. Even if it is configured as an output.
Charles Linquist
I do not understand exactly what you are after.
The only way the LED could be on is if you turned it on or off for that matter.
So you would know if it is on....If you turned it on then???
Dave
Always wear safety glasses while programming.
Bookmarks