robotois-led
Version:
Library for managing the state of a LED.
12 lines (6 loc) • 493 B
Markdown
# Test the C++ Library
In the file `test.cpp` it is provided a simple test for the LED module. The test consist in toggle the LED status (`ON | OFF`) every `500ms`.
To run the test follow these steps:
* Compile the sources with the following command: `make all`
* The previous command will generate an executable file named `runner`, which you can run as follows: `sudo ./runner`.
* To remove the compiled `*.o` files and the dist file `runner`, execute the following line: `make clean`.