PU2CLR SI4844 Arduino Library 1.1.5
Arduino Library for Si4844 Devices - By Ricardo Lima Caratti
Loading...
Searching...
No Matches
Device Checking

Functions

bool SI4844::detectDevice ()
 Checks communication with SI4844 via I2C.
 
uint8_t SI4844::scanI2CBus (uint8_t *device, uint8_t limit)
 Scans the I2C bus and returns the addresses of the devices found.
 

Detailed Description

Function Documentation

◆ detectDevice()

bool SI4844::detectDevice ( )

Checks communication with SI4844 via I2C.

Checks if the SI4844 is available on the I2C bus. Remember that the SI4844 responds to the address 0x11

Returns
true or false

◆ scanI2CBus()

uint8_t SI4844::scanI2CBus ( uint8_t *  device,
uint8_t  limit 
)

Scans the I2C bus and returns the addresses of the devices found.

Searches for devices connected to the I2C bus. The addresses of the devices found are stored in the "device" array.

Parameters
devicearray of device addresses found.
Returns
uint8_t number of devices found or 0 if no device found or error.