Skip to content

Instantly share code, notes, and snippets.

View kasperl's full-sized avatar

Kasper Lund kasperl

View GitHub Profile
// Copyright (C) 2018 Toitware ApS. All rights reserved.
// Sketchy LoRa driver for RFM95.
import gpio
import monitor
import serial
import spi
main:
spi := spi.Bus
@kasperl
kasperl / gist:d70d5d63291d22de3d43
Created April 14, 2015 06:10
Simple message box implementation on top of Fletch
// Example of a simple message box.
import 'dart:collection';
class MessageBox {
final Port _port;
MessageBox.fromPort(this._port);
Port get port => _port;