User Tools

Site Tools


config:remotecontrol:k8055

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
config:remotecontrol:k8055 [2022/08/25 07:55] – Aktualisiert tondoseconfig:remotecontrol:k8055 [2022/08/25 15:09] – ... tondose
Line 1: Line 1:
-====== Velleman K8055 and K8055N ======+====== Velleman K8055 ======
  
 This article describes remote control for the Velleman K8055 family of USB experiment boards. This article describes remote control for the Velleman K8055 family of USB experiment boards.
Line 19: Line 19:
  
 mAirList supports the five digital inputs for triggering of [[reference:remote_control_commands|remote commands]] directly. The digital as well as the analogue outputs can be used via scripting. mAirList supports the five digital inputs for triggering of [[reference:remote_control_commands|remote commands]] directly. The digital as well as the analogue outputs can be used via scripting.
 +
 +----
  
 ===== Configuration ===== ===== Configuration =====
Line 33: Line 35:
  
 Then you can assign a [[reference:remote_control_commands|command]] for each input 1-5, and for the event that the pin goes ON or OFF, respectively. Then you can assign a [[reference:remote_control_commands|command]] for each input 1-5, and for the event that the pin goes ON or OFF, respectively.
 +
 +----
  
 ===== Scripting ===== ===== Scripting =====
Line 42: Line 46:
   function K8055Remote(iIndex: integer): IK8055Remote;   function K8055Remote(iIndex: integer): IK8055Remote;
      
-''iIndex'' is the number of the K8055 remote set up in the system, with 0 being the first (and oftenonly one.+''iIndex'' is the number of the K8055 remote set up in the system, with ''0'' being the first (and often onlyone („zero-based“).
  
 The function will return a reference to a ''IK8055Remote'' interface, which provides amongst others the following methods: The function will return a reference to a ''IK8055Remote'' interface, which provides amongst others the following methods:
Line 49: Line 53:
   procedure ClearDigitalChannel(Channel: integer);   procedure ClearDigitalChannel(Channel: integer);
   procedure ClearAllDigital;   procedure ClearAllDigital;
 +  
 +''Channel'' refers to the digital channels, where ''1'' is the first one („one-based“).
      
 A complete call for switching on (setting) digital channel 3 on the first Velleman unit then should look like this: A complete call for switching on (setting) digital channel 3 on the first Velleman unit then should look like this:
Line 69: Line 75:
 Example: Example:
  
-A value of 25 corresponds to inputs 1, 4 and 5 being set and inputs 2 and 3 being cleared.+A value of 25 corresponds to inputs 1, 4 and 5 being set („on“) and inputs 2 and 3 being cleared „off“).
  
   1 ⋅ 2⁰ + 0 ⋅ 2¹ + 0 ⋅ 2² + 1 ⋅ 2³ + 1 ⋅ 2⁴  =  1 + 0 + 0 + 8 + 16  =  25    1 ⋅ 2⁰ + 0 ⋅ 2¹ + 0 ⋅ 2² + 1 ⋅ 2³ + 1 ⋅ 2⁴  =  1 + 0 + 0 + 8 + 16  =  25 
config/remotecontrol/k8055.txt · Last modified: 2022/08/25 15:12 by tondose

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki