Component: One Wire (DS2482) (Comms: Interface)
From Flowcode Help
Jump to navigationJump to searchAuthor | MatrixTSL |
Version | 1.0 |
Category | Comms: Interface |
Contents
One Wire (DS2482) component
A One Wire master transciever controlled using I2C comms. Useful for microcontroller devices where One Wire communications timings are too tight to do reliably.
Component Source Code
Please click here for the component source code: FC_Comp_Source_One_Wire_DS2482_I2C.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
![]() |
ReceiveByte |
Receives a byte from the one wire bus a bit at a time | |
![]() |
Return |
![]() |
TransmitByte |
Transmit a byte to the one wire bus a bit at a time | |
![]() |
Command |
![]() |
Return |
![]() |
SkipROM |
Performs a bus reset and the sends the SkipROM command byte | |
![]() |
Return |
![]() |
MatchROM |
Performs a reset followed by the MatchROM code and then the 8-bit ROM code. | |
![]() |
FamilyCode |
![]() |
SerialNumber |
![]() |
Return |
![]() |
ScanBus |
Scans the one wire bus to detect all connected devices. Returns the number of one wire devices found. | |
![]() |
Return |
![]() |
GetDeviceCount |
Returns the number of devices found by the last ScanBus operation. | |
![]() |
Return |
![]() |
Initialise |
![]() |
Return |