The document describes initializing an LED, laser, and software serial before turning on the laser and reading a sensor value. If the value is above 900 and it is the first reading, the LED turns on, an SMS is sent to the owner, and the reading counter resets to 0. Otherwise, if the value is below 900, the LED turns off and the reading counter increments.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
8 views1 page
LED and Laser Control Logic Flow
The document describes initializing an LED, laser, and software serial before turning on the laser and reading a sensor value. If the value is above 900 and it is the first reading, the LED turns on, an SMS is sent to the owner, and the reading counter resets to 0. Otherwise, if the value is below 900, the LED turns off and the reading counter increments.