brickbots / PiFinder

A plate solving telescope finder based around a Raspberry PI and RPI HQ Camera
GNU General Public License v3.0
158 stars 30 forks source link

Adding a screen saver #92

Closed mrosseel closed 1 year ago

mrosseel commented 1 year ago

See the .hide() method in the docs below: https://luma-oled.readthedocs.io/en/latest/api-documentation.html#module-luma.oled.device

mrosseel commented 1 year ago

@brickbots

brickbots commented 1 year ago

The 100000 seconds was just to have some value to avoid checking for the 'off' condition. Your implementation is much more legible and future proof 👍

The min/max for the keypad PWM is 0/100. Basically the percent of the duty cycle the output is high.