Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Task 1

Modify your blinky program such that it blinks faster when the LDR is covered, and slower when it is exposed to light.

Hint

Check whether the sensorValue is greater than say, 512 (approx. half of the maximum, which is 1023) using an if condition.

  • No labels