loop()
Loop processing
This is the main loop of the application. After the loop ends, the CPU transitions to DOZE mode and waits for the next interrupt with low power consumption.
In Act, most processing is written inside this loop.
Defining the callback function is optional.