User Tools

Site Tools


getting_started:tutorials:hal2

This is an old revision of the document!


Using the HAL with a Watchdog Timer

In the EEROS library you will find a directory with examples. For this example see HalTest3.cpp.

The system uses real hardware inputs and output with flink. You also need to install the necessary wrapper library for flink, see Installing Hardware Libraries.

Open a shell in the build directory of your EEROS library and run

$ ./halTest3 -c HalTest3ConfigFlink.json  // for flink

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/hal2.1718034748.txt.gz · Last modified: 2024/06/10 17:52 by ursgraf