We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5e78be2 + 54bffd8 commit 8c0903eCopy full SHA for 8c0903e
1 file changed
seeed_python_rpi/core.py
@@ -99,7 +99,7 @@ def usr_led(self, value):
99
@property
100
def buzzer(self):
101
if hasattr(_Core, 'BUZZER_BRIGHTNESS'):
102
- return True if self.read_1st_line_from_file(_Core.BUZZER_BRIGHTNESS) != "0" else False
+ return True if self.__read_1st_line_from_file(_Core.BUZZER_BRIGHTNESS) != "0" else False
103
elif hasattr(_Core, 'BUZZER_GPIO_CHIP'):
104
chip = gpiod.Chip(_Core.BUZZER_GPIO_CHIP)
105
line = chip.find_lines(_Core.BUZZER_GPIO_LINE)
0 commit comments