getting_started:tutorials:hal3
Using the HAL with the gpio subsystem
In the EEROS library you will find a directory with examples. For this example see HalTest4.cpp.
The system uses real hardware inputs and output. The hardware could be (
). You also need to install the necessary wrapper library, see Installing Hardware Libraries.
Open a shell in the build directory of your EEROS library and run
$ ./examples/hal/halTest4 -c HalTest4ConfigGpio.json
This examples creates a small control system with a couple of peripheral input and output blocks. The main sequence alters the values on digital and analog outputs periodically. It also logs the digital and analog inputs.
getting_started/tutorials/hal3.txt · Last modified: by ursgraf
