Skip to content

Commit 36e1684

Browse files
authored
Merge pull request #38 from relic-se/contrast-range-docs
Update `adafruit_ov5640.OV5640.contrast` value range in docstring
2 parents b025027 + 36c1a5f commit 36e1684

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_ov5640/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1509,7 +1509,7 @@ def brightness(self, value: int) -> None:
15091509

15101510
@property
15111511
def contrast(self) -> int:
1512-
"""Sensor contrast adjustment, from -4 to 4 inclusive"""
1512+
"""Sensor contrast adjustment, from -3 to 3 inclusive"""
15131513
contrast_abs = self._read_register(0x5587) >> 4
15141514
contrast_neg = self._read_register(0x5588) & 8
15151515
if contrast_neg:

0 commit comments

Comments
 (0)