File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 50
50
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_MPL115A2.git"
51
51
52
52
# pylint: disable=bad-whitespace
53
- _MPL115A2_ADDRESS = (0x60 )
54
- _MPL115A2_REGISTER_PRESSURE_MSB = (0x00 )
55
- _MPL115A2_REGISTER_A0_COEFF_MSB = (0x04 )
56
- _MPL115A2_REGISTER_STARTCONVERSION = (0x12 )
53
+ _MPL115A2_ADDRESS = const (0x60 )
54
+ _MPL115A2_REGISTER_PRESSURE_MSB = const (0x00 )
55
+ _MPL115A2_REGISTER_A0_COEFF_MSB = const (0x04 )
56
+ _MPL115A2_REGISTER_STARTCONVERSION = const (0x12 )
57
57
# pylint: enable=bad-whitespace
58
58
59
59
class MPL115A2 :
Original file line number Diff line number Diff line change 9
9
10
10
while True :
11
11
print ("Pressure: {} Temperature: {}" .format (mpl .pressure , mpl .temperature ))
12
- time .sleep (1 )
12
+ time .sleep (1 )
You can’t perform that action at this time.
0 commit comments