Software =============== As said before: PWM is controlled by bluetooth. Used softare for this is Nordic nRF UART android application. This works otherwise quite simply: connect to device then start sending commands command interface: c example: c160 this will set Channel 1 to 60% PWM Generally how code works: nothing happens on main infinite loop other than idle handler. Bluetooth uart handler activates when data is received from Nordic nRF UART android application and PWM is modified according the data. Following pages follows more on NRF52 microcontrollers source code. Used IDE is Segger Embedded Studio `Segger Embedded Studio `_ Whole sourcecode can be found here :download:`source code `. .. toctree:: :maxdepth: 1 peripherals.rst .. toctree:: :maxdepth: 1 HD44780.rst .. toctree:: :maxdepth: 1 bluetooth.rst