In the directory of each language, sample programs are stored with the following configuration.
|
Function Category |
Subdirectory Name |
Project Name |
Sample Name |
|
General-purpose function (*1) |
console/ |
dicounter |
|
|
console/ |
inout |
||
|
console/ |
interrupt |
||
|
console/ |
trigger |
||
|
Bus master function |
console/BusMaster/ |
infinite |
|
|
console/BusMaster/ |
input |
||
|
console/BusMaster/ |
output |
||
|
console/BusMaster/ |
sync |
||
|
Bus master function Curses library used (*2) |
console_curses/BusMaster/ |
infinite |
|
|
console_curses/BusMaster/ |
input |
||
|
console_curses/BusMaster/ |
output |
||
|
console_curses/BusMaster/ |
sync |
||
|
Demo device control |
console/ |
democtrl |
*1 It is necessary to add DioSet8255Mode function for board DIO-48D-LPE, DIO-96D-LPE, DIO-48D-PE, PIO-48D(LPCI)H and DIO-48DX-USB.
It is necessary to add DioDmSetDirection function for the board supporting I/O direction change.
*2 Only gcc version is available. Python sample programs are not provided.
As for the sample which is using the curses library, the display is legible.However, the load of a system becomes high.