File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 3737# NOTE: The first address in this list is considered the default I2C address for the
3838# device.
3939_FULL_ADDRESS_LIST = list (range (0x08 ,0x77 + 1 )) # Full I2C Address List (excluding resrved addresses)
40- _FULL_ADDRESS_LIST .remove (SOIL_MOISTURE_SENSOR_DEFAULT_ADDRESS >> 1 ) # Remove Default Address of Soil Moisture Sensor from list
41- _AVAILABLE_I2C_ADDRESS = [SOIL_MOISTURE_SENSOR_DEFAULT_ADDRESS >> 1 ] # Initialize with Default Address of Soil Moisture Sensor
40+ _FULL_ADDRESS_LIST .remove (SOIL_MOISTURE_SENSOR_DEFAULT_ADDRESS ) # Remove Default Address of Soil Moisture Sensor from list
41+ _AVAILABLE_I2C_ADDRESS = [SOIL_MOISTURE_SENSOR_DEFAULT_ADDRESS ] # Initialize with Default Address of Soil Moisture Sensor
4242_AVAILABLE_I2C_ADDRESS .extend (_FULL_ADDRESS_LIST ) # Add Full Range of I2C Addresses
4343
4444
You can’t perform that action at this time.
0 commit comments