User Tools

Site Tools


docu_read

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
docu_read [2018/08/08 14:34]
Niek
docu_read [2018/08/08 14:37] (current)
Niek [Options]
Line 10: Line 10:
 |DEVICE|yes|no|A label device to store the text read| |DEVICE|yes|no|A label device to store the text read|
  
 +====Examples====
  
 +<​code>​
 +IF 1 == 1 THEN read FROM /​home/​pi/​myfile.txt DEVICE mylabel => reads content from the file and stores it in mylabel
 +   
 +</​code>​
 +Note: if the file cannot be opened the cause of the failure will be stored in the color attribute of the label.
  
docu_read.txt ยท Last modified: 2018/08/08 14:37 by Niek