Difference between revisions of "Component: One Wire Dummy (Misc)"
From Flowcode Help
Jump to navigationJump to search|  (Created page with "{| style="width:50%"  |-  | width="20%" style="color:gray;" | Author  | Matrix Ltd  |-  | width="20%" style="color:gray;" | Version  | 1.4  |-  | width="20%" style="color:gray...") | |||
| Line 20: | Line 20: | ||
| ==Detailed description== | ==Detailed description== | ||
| + | |||
| + | |||
| Line 36: | Line 38: | ||
| ==Examples== | ==Examples== | ||
| + | |||
| + | |||
Revision as of 14:42, 16 January 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 for the component source code: FC_Comp_Source_One_Wire_Dummy.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Downloadable macro reference
|   | ReceiveByte | 
| Receives a byte from the one wire bus a bit at a time | |
|  - BYTE | Return | 
|   | TransmitByte | 
| Transmit a byte to the one wire bus a bit at a time | |
|  - BYTE | Command | 
|  - VOID | Return | 
|   | SkipROM | 
| Performs a bus reset and the sends the SkipROM command byte | |
|  - VOID | Return | 
|   | MatchROM | 
| Performs a reset followed by the MatchROM code and then the 8-bit ROM code. | |
|  - BYTE | FamilyCode | 
|  - BYTE | SerialNumber | 
|  - VOID | Return | 
|   | ScanBus | 
| Scans the one wire bus to detect all connected devices. Returns the number of one wire devices found. | |
|  - BYTE | Return | 
|   | GetDeviceCount | 
| Returns the number of devices found by the last ScanBus operation. | |
|  - BYTE | Return | 
|   | Initialise | 
| Sets up the 1-Wire output pin ready for communications. | |
|  - VOID | Return | 
Property reference
|   | Properties | 

