Skip to content

Instantly share code, notes, and snippets.

Avatar

David Akerman daveake

View GitHub Profile
View lora.py
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):
View gps.py
from microbit import i2c, sleep
import gc
import math
class GPS(object):
"""
GPS using i2c
"""
def __init__(self):
View gps_test.py
from microbit import *
import math
# Write your code here :-)
def GPSChecksumOK(Line):
Count = len(Line)
XOR = 0;