This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |