Skip to content

Instantly share code, notes, and snippets.

View daveake's full-sized avatar

David Akerman daveake

View GitHub Profile
from microbit import *
import math
# Write your code here :-)
def GPSChecksumOK(Line):
Count = len(Line)
XOR = 0;
from microbit import i2c, sleep
import gc
import math
class GPS(object):
"""
GPS using i2c
"""
def __init__(self):
from microbit import spi, sleep, pin16
import array
import gc
class LoRa(object):
"""
Radio - LoRa. Single channel.
"""
def __init__(self, Frequency=434.450, Mode=1):