Skip to main content

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


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)

Uploaded Source

Built Distribution

alsmodule_pkg-0.0.1-cp37-cp37m-macosx_10_7_x86_64.whl (15.5 kB view hashes)

Uploaded CPython 3.7m macOS 10.7+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page