User Tools

Site Tools


config:remotecontrol:iowarrior

Differences

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

Link to this comparison view

Next revision
Previous revision
config:remotecontrol:iowarrior [2016/08/30 12:10] – created twconfig:remotecontrol:iowarrior [2019/08/09 13:25] (current) – Verklarung der Funktion tondose
Line 31: Line 31:
  
 ''SetPort'' will set the state of a port, using that pin as an output pin. Note that once this function has been called for a pin, that particular pin will be an output pin and cannot be used as an input pin anymore until you power-cycle the IO-Warrior device. ''SetPort'' will set the state of a port, using that pin as an output pin. Note that once this function has been called for a pin, that particular pin will be an output pin and cannot be used as an input pin anymore until you power-cycle the IO-Warrior device.
 +
 +A complete call for switching on (setting) port 9 on the first I/O-Warrior unit then should look like this:
 +
 +  IOWarriorRemote(0).SetPort(9, true);
 +
 +For swtiching off, the value ''true'' should be replaced by ''false''.
 +
  
config/remotecontrol/iowarrior.1472559058.txt.gz · Last modified: 2019/07/09 16:18 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki