Difference between revisions of "Component: API OneWire Dummy (API Slave Devices)"
From Flowcode Help
Jump to navigationJump to searchLine 56: | Line 56: | ||
''<span style="color:red;">No additional examples</span>'' | ''<span style="color:red;">No additional examples</span>'' | ||
+ | |||
+ | |||
Line 61: | Line 63: | ||
==Macro reference== | ==Macro reference== | ||
+ | ===OneWireBusReset=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 79: | Line 82: | ||
+ | ===OneWireInitialise=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 97: | Line 101: | ||
+ | ===OneWireMatchROM=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 125: | Line 130: | ||
+ | ===OneWireTransmitByte=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 148: | Line 154: | ||
+ | ===OneWireGetIDByte=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 176: | Line 183: | ||
+ | ===OneWireSkipROM=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 194: | Line 202: | ||
+ | ===OneWireScanBus=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 212: | Line 221: | ||
+ | ===OneWireReceiveByte=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 230: | Line 240: | ||
+ | ===OneWireGetDeviceCount=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- |
Revision as of 11:48, 3 February 2023
Author | MatrixTSL |
Version | 1.0 |
Category | API Slave Devices |
Contents
API OneWire Dummy component
Component Source Code
Please click here to download the component source project: FC_Comp_Source_API_OneWire_Dummy.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_API_OneWire_Dummy.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
OneWireBusReset
OneWireInitialise
![]() |
OneWireInitialise |
Initialise the OneWire module ready for communications | |
![]() |
Channel |
Channel Index: Range 0 - I2C Bus Count - 1 | |
![]() |
Return |
OneWireMatchROM
OneWireTransmitByte
![]() |
OneWireTransmitByte |
Transmit a byte to the one wire bus a bit at a time | |
![]() |
Channel |
Channel Index: Range 0 - I2C Bus Count - 1 | |
![]() |
Data |
![]() |
Return |
OneWireGetIDByte
OneWireSkipROM
![]() |
OneWireSkipROM |
Performs a bus reset and the sends the SkipROM command byte | |
![]() |
Channel |
Channel Index: Range 0 - I2C Bus Count - 1 | |
![]() |
Return |
OneWireScanBus
![]() |
OneWireScanBus |
Scans the one wire bus to detect all connected devices. Returns the number of one wire devices found. | |
![]() |
Channel |
Channel Index: Range 0 - I2C Bus Count - 1 | |
![]() |
Return |
OneWireReceiveByte
![]() |
OneWireReceiveByte |
Receives a byte from the one wire bus a bit at a time | |
![]() |
Channel |
Channel Index: Range 0 - I2C Bus Count - 1 | |
![]() |
Return |
OneWireGetDeviceCount
![]() |
OneWireGetDeviceCount |
Returns the number of devices found by the last ScanBus operation. | |
![]() |
Channel |
Channel Index: Range 0 - I2C Bus Count - 1 | |
![]() |
Return |
Property reference
![]() |
Properties |