Closed
Description
if const's have underlines, they wont be exposed outside the library, which i think makes sense for all the consts right? so instead of
TSL2561_DEFAULT_ADDRESS = const(0x39)
do
_TSL2561_DEFAULT_ADDRESS = const(0x39)
init should check the id and raise an RuntimeError if the chip is not found, the id() function can be inlined if you like - see https://github.com/adafruit/Adafruit_CircuitPython_BMP280/blob/master/adafruit_bmp280.py#L67
i know @tannewt mentioned changing lux to light but i actually just changed it back again (lux is a formal SI spec, light is just monotonic light measurements) so please make the property back to 'lux' (sorry!)
Metadata
Metadata
Assignees
Labels
No labels