Difference between revisions of "Component: K8055D (Third Party)"
From Flowcode Help
Jump to navigationJump to searchLine 20: | Line 20: | ||
==Detailed description== | ==Detailed description== | ||
+ | |||
+ | |||
Line 34: | Line 36: | ||
==Examples== | ==Examples== | ||
+ | |||
+ | |||
Line 266: | Line 270: | ||
|- | |- | ||
|- | |- | ||
− | + | | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | |
− | + | | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Simulation | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | | width="10%" align="center" style="background-color:# | ||
− | | width="90%" style="background-color:# | ||
|- | |- | ||
|- | |- | ||
Line 298: | Line 293: | ||
|- | |- | ||
| colspan="2" | Use software simulation to emulate a board connected at address 3. | | colspan="2" | Use software simulation to emulate a board connected at address 3. | ||
+ | |- | ||
+ | | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | ||
+ | | width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Hardware | ||
+ | |- | ||
+ | |- | ||
+ | | width="10%" align="center" | [[File:Fc9-type-16-icon.png]] | ||
+ | | width="90%" | Scan | ||
+ | |- | ||
+ | | colspan="2" | Request a scan of the currently connected hardware to detect what Velleman boards are connected and at what addresses. Where hardware is not detected at an addess, a System Panel simulation will be used instead where one has been requested in the properties. | ||
|} | |} |
Latest revision as of 17:24, 9 November 2022
Author | Matrix Ltd |
Version | 2.3 |
Category | Third Party |
Contents
K8055D component
Support for the Velleman K8055 USB input/output board. Allows Flowcode to communicate with up to four K8055 boards, or to simulate them with interactive on-screen controls. All digital and analog I/O functions are supported.
Component Pack
COMMSC
Detailed description
No detailed description exists yet for this component
Examples
An example project showing the capabilities of the Velleman K8055D board combined with a Pico Technology series 2 scope.
Downloadable macro reference
![]() |
GetCount |
Read the value of the chosen counter for the currently selected board. | |
![]() |
Counter |
The counter to read (1 or 2) | |
![]() |
Return |
![]() |
GetAnalogIn |
Read analog input 1 or 2 | |
![]() |
Input |
Which input to read (1 ro 2) | |
![]() |
Return |
![]() |
SetAnalogOut |
Sets the chosen analog output to the given value (0-255) | |
![]() |
Output |
Which output to set the value for (1 ro 2) | |
![]() |
Value |
Value to set (0-255) | |
![]() |
Return |
![]() |
SetDigitalOut |
Sets the state of the output given by the output index (1 to 8) | |
![]() |
Out |
Number of the output to set the value for | |
![]() |
Value |
![]() |
Return |
![]() |
GetDigitalByte |
Read all five inputs at once, returning them as a bit pattern in a byte. The upper three bits will always be zero. | |
![]() |
Return |
![]() |
ResetCount |
Resets the chosen counter of the currently selected board. | |
![]() |
Counter |
Which counter to reset (1 or 2) | |
![]() |
Return |
![]() |
GetDevices |
Returns a value representing the available devices. Device is a binary value where bit(N) set = device at address (N) is connected. | |
![]() |
Return |
![]() |
SetDigitalByte |
Sets all eight digital outputs according to the individual bits of the Value parameter. | |
![]() |
Value |
Value to send to the selected board. | |
![]() |
Return |
![]() |
GetDigitalIn |
Read the individual input at the given index (1..5) | |
![]() |
Input |
Which input to read (1 to 5) | |
![]() |
Return |