.. _cpp-tutos-leds: Control the LEDs ================ :ref:`\<\< return to examples index ` The aim of this example is to show how to control NAO's LEDs using a proxy to ALLeds module. This example will make a colored animation on all of NAO's LEDs. The whole example is available here: :download:`leds.zip ` Source file: ------------ :download:`ledsexample.cpp ` .. literalinclude:: ledsexample.cpp :language: cpp CMakeLists.txt: --------------- The corresponding CMakeLists.txt file is the following: :download:`CMakeLists.txt ` .. literalinclude:: CMakeLists.txt :language: cmake