This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Example of a simple message box. | |
import 'dart:collection'; | |
class MessageBox { | |
final Port _port; | |
MessageBox.fromPort(this._port); | |
Port get port => _port; |