Project Description
The LEUART0 will be connected to a BLE, Bluetooth Low Energy, NCP, Network Co-Processor. A Network Co-Processor is a very simple way of communicating via a radio. The NCP handles the software communication stack and the application on the Mighty Gecko just transmits the data to the NCP for transmission or receipt of data from it. Every time that the Si1133 takes a light measurement, it will send data to the BLE module to transmit the light value to your phone. When the light count is less than 20, the application will turn on RGB LED 1 blue and turn-off RGB LED 1 if the light count is equal to or greater than 20. Low-Energy software methodology will always be used to keep the micro-controller at the lowest possible energy mode.
Software Diagrams
Doxygen
GitHub
Check out the code by clicking on the GitHub icon below! The file is a .sls and will need to be imported as a project in the Simplicty IDE.