Skip to content

Instantly share code, notes, and snippets.

Avatar

Jez McKean jezmck

View GitHub Profile
@jezmck
jezmck / _mapping.py
Last active Jul 14, 2019
Overly complex Raspberry Pi LoRa Node pHAT python code to get up and running
View _mapping.py
#!/usr/bin/env python3
# -*- coding: UTF-8 -*-
print('Starting...', flush=True)
import logging
logging.basicConfig(level=logging.DEBUG,
filename='/home/pi/lora/mapping.log',
filemode='a',
format='[%(asctime)s] %(message)s')