update readme with instructions to check for device compatibility

This commit is contained in:
Alessandro Mauri 2024-10-06 16:49:42 +02:00
parent 86538e9e41
commit 8193ca5d2f

View file

@ -5,6 +5,12 @@ Uses the luminance sensor of a laptop to determine a target brightness, the user
can further adjust the brightness between updates to give the program an offset can further adjust the brightness between updates to give the program an offset
to respect. to respect.
## Check for Support
This program needs an ambient light sensor, you can check if your device has one
by running `cat /sys/bus/iio/devices/iio:device0/in_illuminance_raw` this should
give a number and not an error
## Install ## Install
Copy ambient.py to a directory in PATH: `sudo cp ambient.py /usr/local/bin` Copy ambient.py to a directory in PATH: `sudo cp ambient.py /usr/local/bin`