Difference between revisions of "Component: One Wire Dummy (Misc)"
From Flowcode Help
Jump to navigationJump to search| Line 77: | Line 77: | ||
''<span style="color:red;">No additional examples</span>'' | ''<span style="color:red;">No additional examples</span>'' | ||
| + | |||
| + | |||
| Line 236: | Line 238: | ||
| width="90%" style="border-top: 2px solid #000;" | ''Return'' | | width="90%" style="border-top: 2px solid #000;" | ''Return'' | ||
|} | |} | ||
| − | |||
| − | |||
Revision as of 12:21, 3 February 2023
| Author | Matrix Ltd |
| Version | 1.4 |
| Category | Misc |
Contents
One Wire Dummy component
Low level routines for controlling or interacting with a standard one wire interface.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_temp/One_Wire_Dummy.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_temp/One_Wire_Dummy.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
BusReset
GetDeviceCount
| GetDeviceCount | |
| Returns the number of devices found by the last ScanBus operation. | |
| Return | |
GetIDByte
Initialise
| Initialise | |
| Sets up the 1-Wire output pin ready for communications. | |
| Return | |
MatchROM
| MatchROM | |
| Performs a reset followed by the MatchROM code and then the 8-bit ROM code. | |
| FamilyCode | |
| SerialNumber | |
| Return | |
ReceiveByte
| ReceiveByte | |
| Receives a byte from the one wire bus a bit at a time | |
| Return | |
ScanBus
| ScanBus | |
| Scans the one wire bus to detect all connected devices. Returns the number of one wire devices found. | |
| Return | |
SkipROM
| SkipROM | |
| Performs a bus reset and the sends the SkipROM command byte | |
| Return | |
TransmitByte
| TransmitByte | |
| Transmit a byte to the one wire bus a bit at a time | |
| Command | |
| Return | |
Property reference
| Properties |