Skip to content

Instantly share code, notes, and snippets.

View sfnis's full-sized avatar

Jeremy Anderson sfnis

  • San Francisco
View GitHub Profile
wallpanel:
enabled: true
debug: false
hide_toolbar: true
hide_sidebar: true
fullscreen: false
idle_time: 0
keep_screen_on_time: 86400
black_screen_after_time: 0
control_reactivation_time: 5
@sfnis
sfnis / motion
Created December 30, 2018 01:51
import RPi.GPIO as GPIO
import time
SENSOR_PIN = 23
GPIO.setmode(GPIO.BCM)
GPIO.setup(SENSOR_PIN, GPIO.IN)
def my_callback(channel):
# Here, alternatively, an application / command etc. can be started.