A simple module to access ambient light sensors samples on Mac OS X
Project description
Ambient Light Sensor (ALS) Package
Copyright (C) 2019 Jean-Jacques Puig
This module implements a trivial interface to access ambient light sensors available on some Apple computers (iMac...).
Usage is very simple; the 'als' module exports only one module method, getSensorReadings(), which returns raw samples values as a list of two (Long) integers.
import als print(als.getSensorReadings())
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
alsmodule-pkg-0.0.1.tar.gz
(2.8 kB
view hashes)
Built Distribution
Close
Hashes for alsmodule_pkg-0.0.1-cp37-cp37m-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38780912a89bc83a8028b143af88fcfc1f3abc1f8932517aec622eb2db77565a |
|
MD5 | 0cce175c4117a248620644dc088919ea |
|
BLAKE2b-256 | 89bd8dcd1981f528e39c2619ea2d53c43c9eba28fa70c956dc1c2db9b6f2babd |