Skip to content

Commit d0dabe3

Browse files
committed
vl53l1x: Remove camelCase references from configuration comments.
1 parent 612f4bb commit d0dabe3

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

lib/vl53l1x/vl53l1x/device.py

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
0x00, # 0x2d : set bit 2 and 5 to 1 for fast plus mode (1MHz I2C), else don't touch */
66
0x00, # 0x2e : bit 0 if I2C pulled up at 1.8V, else set bit 0 to 1 (pull up at AVDD) */
77
0x00, # 0x2f : bit 0 if GPIO pulled up at 1.8V, else set bit 0 to 1 (pull up at AVDD) */
8-
0x01, # 0x30 : set bit 4 to 0 for active high interrupt and 1 for active low (bits 3:0 must be 0x1), use SetInterruptPolarity() */
9-
0x02, # 0x31 : bit 1 = interrupt depending on the polarity, use CheckForDataReady() */
8+
0x01, # 0x30 : set bit 4 to 0 for active high interrupt and 1 for active low (bits 3:0 must be 0x1) */
9+
0x02, # 0x31 : bit 1 = interrupt depending on the polarity */
1010
0x00, # 0x32 : not user-modifiable */
1111
0x02, # 0x33 : not user-modifiable */
1212
0x08, # 0x34 : not user-modifiable */
@@ -57,23 +57,23 @@
5757
0x01, # 0x61 : not user-modifiable */
5858
0xF1, # 0x62 : not user-modifiable */
5959
0x0D, # 0x63 : not user-modifiable */
60-
0x01, # 0x64 : Sigma threshold MSB (mm in 14.2 format for MSB+LSB), use SetSigmaThreshold(), default value 90 mm */
60+
0x01, # 0x64 : Sigma threshold MSB (mm in 14.2 format for MSB+LSB), default value 90 mm */
6161
0x68, # 0x65 : Sigma threshold LSB */
62-
0x00, # 0x66 : Min count Rate MSB (MCPS in 9.7 format for MSB+LSB), use SetSignalThreshold() */
62+
0x00, # 0x66 : Min count Rate MSB (MCPS in 9.7 format for MSB+LSB) */
6363
0x80, # 0x67 : Min count Rate LSB */
6464
0x08, # 0x68 : not user-modifiable */
6565
0xB8, # 0x69 : not user-modifiable */
6666
0x00, # 0x6a : not user-modifiable */
6767
0x00, # 0x6b : not user-modifiable */
68-
0x00, # 0x6c : Intermeasurement period MSB, 32 bits register, use SetIntermeasurementInMs() */
68+
0x00, # 0x6c : Intermeasurement period MSB, 32 bits register */
6969
0x00, # 0x6d : Intermeasurement period */
7070
0x0F, # 0x6e : Intermeasurement period */
7171
0x89, # 0x6f : Intermeasurement period LSB */
7272
0x00, # 0x70 : not user-modifiable */
7373
0x00, # 0x71 : not user-modifiable */
74-
0x00, # 0x72 : distance threshold high MSB (in mm, MSB+LSB), use SetD:tanceThreshold() */
74+
0x00, # 0x72 : distance threshold high MSB (in mm, MSB+LSB) */
7575
0x00, # 0x73 : distance threshold high LSB */
76-
0x00, # 0x74 : distance threshold low MSB ( in mm, MSB+LSB), use SetD:tanceThreshold() */
76+
0x00, # 0x74 : distance threshold low MSB (in mm, MSB+LSB) */
7777
0x00, # 0x75 : distance threshold low LSB */
7878
0x00, # 0x76 : not user-modifiable */
7979
0x01, # 0x77 : not user-modifiable */
@@ -84,15 +84,15 @@
8484
0x00, # 0x7c : not user-modifiable */
8585
0x00, # 0x7d : not user-modifiable */
8686
0x02, # 0x7e : not user-modifiable */
87-
0xC7, # 0x7f : ROI center, use SetROI() */
88-
0xFF, # 0x80 : XY ROI (X=Width, Y=Height), use SetROI() */
87+
0xC7, # 0x7f : ROI center */
88+
0xFF, # 0x80 : XY ROI (X=Width, Y=Height) */
8989
0x9B, # 0x81 : not user-modifiable */
9090
0x00, # 0x82 : not user-modifiable */
9191
0x00, # 0x83 : not user-modifiable */
9292
0x00, # 0x84 : not user-modifiable */
9393
0x01, # 0x85 : not user-modifiable */
94-
0x01, # 0x86 : clear interrupt, use ClearInterrupt() */
95-
0x40, # 0x87 : start ranging, use StartRanging() or StopRanging(), If you want an automatic start after VL53L1X_init() call, put 0x40 in location 0x87 */
94+
0x01, # 0x86 : clear interrupt */
95+
0x40, # 0x87 : start ranging, put 0x40 for automatic start after init */
9696
]
9797
)
9898

0 commit comments

Comments
 (0)