Skip to content

Instantly share code, notes, and snippets.

View klavestad's full-sized avatar
🤓

Sindre Klavestad klavestad

🤓
View GitHub Profile
#!/usr/bin/env python
# -*- coding: utf8 -*-
import RPi.GPIO as GPIO
import MFRC522
import signal
continue_reading = True
# Capture SIGINT for cleanup when the script is aborted