Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:sw:02-apis:04-sysfs [2018/10/29 08:58]
tomhora
en:sw:02-apis:04-sysfs [2021/05/03 11:49] (current)
avsetula
Line 1: Line 1:
 ====== SysFS ====== ====== SysFS ======
-<​WRAP ​center ​round tip 60%>+<​WRAP ​group> 
 +<WRAP half column ​round tip 81%>
 The SysFS driver is still under development. Please report any issues or feature requests. The SysFS driver is still under development. Please report any issues or feature requests.
 +</​WRAP>​
 +<WRAP half column 15%>
 +;;#
 +<​html><​span class="​dev-tag dev-patron">​Patron</​span></​html>​ \\
 +<​html><​span class="​dev-tag dev-neuron">​Neuron</​span></​html>​ \\
 +<​html><​span class="​dev-tag dev-axon">​Axon</​span></​html>​
 +;;#
 +</​WRAP>​
 </​WRAP>​ </​WRAP>​
  
-SysFS driver included in the kernel module provides easy file-based access to all IOs. Check the following examples to get started:+SysFS driver included in the kernel module ​for all Unipi controllers,​ except UniPi 1.1 and UniPi 1.1 Lite, provides easy file-based access to all inputs and outputs of the controller. Check the following examples to get started:
  
 Set state of DO to 1 Set state of DO to 1
Line 12: Line 21:
 <​code>​cat /​sys/​devices/​platform/​unipi_plc/​io_group1/​di_1_01/​di_value</​code>​ <​code>​cat /​sys/​devices/​platform/​unipi_plc/​io_group1/​di_1_01/​di_value</​code>​
  
-All IOs can be accessed ​in a similar way.+All IOs can be accessed ​similarly.
  
-Further documentation can be found here: https://​git.unipi.technology/​UniPi/​unipi-kernel/​src/​master/​docs/​sysfs-platform-unipi.txt+Further documentation can be found here: https://​git.unipi.technology/​UniPi/​unipi-kernel/​blob/​master/​docs/​sysfs-platform-unipi.txt