Skip to content

Instantly share code, notes, and snippets.

View shaneshort's full-sized avatar

Shane Short shaneshort

View GitHub Profile
@shaneshort
shaneshort / BBB-WACAN-GPS-00A2.dts
Created January 12, 2024 03:21
Device Tree Overlay file for GPS Cape
/*
* Copyright (C) 2016 Shane Short <shanes@wacan.asn.au>
* Hardware design by Brenton Hewitt <hewball@hewball.com.au>
*
* Combined GPS (with PPS) and Dallas 1W sensor bus cape.
*/
/dts-v1/;
/plugin/;
#include <dt-bindings/board/am335x-bbw-bbb-base.h>
blueprint:
name: Z2M - IKEA five button remote for lights and actions
description: |
Control lights with an IKEA five button remote (the round ones).
The middle "on" button, toggle the lights on/off to the last set brightness
(unless the force brightness is toggled on in the blueprint).
Dim up/down buttons will change the brightness smoothly and can be pressed
and hold until the brightness is satisfactory.