getting_started:tutorials:hal3
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| getting_started:tutorials:hal3 [2026/05/13 10:49] – ursgraf | getting_started:tutorials:hal3 [2026/05/13 10:55] (current) – ursgraf | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| In the EEROS library you will find a directory with examples. For this example see [[https:// | In the EEROS library you will find a directory with examples. For this example see [[https:// | ||
| - | The system either uses real hardware inputs and output or makes use of a simulated gpio device. The hardware could be (TODO). You also need to install the necessary wrapper library, see [[getting_started: | + | The system either uses real hardware inputs and output or makes use of a simulated gpio device. You need to install the necessary wrapper library |
| When using a simulated gpio device, make sure to load the kernel driver first and then create the device with | When using a simulated gpio device, make sure to load the kernel driver first and then create the device with | ||
| Line 33: | Line 33: | ||
| < | < | ||
| $ cat / | $ cat / | ||
| + | </ | ||
| + | |||
| + | Next, change the state of channel 16. This is a critical input in the safety system and causes a transition to safety level //slTwo// when pulled up. | ||
| + | < | ||
| + | $ echo pull-up | sudo tee / | ||
| + | </ | ||
| + | To change back to //slOne// change the level back to ' | ||
| + | < | ||
| + | $ echo pull-down | sudo tee / | ||
| </ | </ | ||
getting_started/tutorials/hal3.1778662199.txt.gz · Last modified: by ursgraf
