Write a program that displays the amount of ambient light in both numeric and hand modes on the mobile screen, and if the amount of ambient light is low, the screen will turn red and vibrate, and if the amount of ambient light increases, the screen will turn green. .
Choose your sections appropriately for your future posts. I don't think your post is about a bug.
Use a light sensor. It is available in the group of components - sensors.
this sounds like a nice task for a homework....
what did you try?
Taifun
Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun.
1 Like