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
#!/bin/bash | |
npm start -- --path ~/Documents/myssb/.ssb |
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
// Feather9x_TX | |
// -*- mode: C++ -*- | |
// Example sketch showing how to create a simple messaging client (transmitter) | |
// with the RH_RF95 class. RH_RF95 class does not provide for addressing or | |
// reliability, so you should only use RH_RF95 if you do not need the higher | |
// level messaging abilities. | |
// It is designed to work with the other example Feather9x_RX | |
// the onewire code uses the recommended libraries here: https://lastminuteengineers.com/ds18b20-arduino-tutorial/ |
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) 2015 Thomas Telkamp and Matthijs Kooijman | |
* Copyright (c) 2018 Terry Moore, MCCI | |
* | |
* Permission is hereby granted, free of charge, to anyone | |
* obtaining a copy of this document and accompanying files, | |
* to do whatever they want with them without any restriction, | |
* including, but not limited to, copying, modification and redistribution. | |
* NO WARRANTY OF ANY KIND IS PROVIDED. | |
* |
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
// Feather9x_TX | |
// -*- mode: C++ -*- | |
// Example sketch showing how to create a simple messaging client (transmitter) | |
// with the RH_RF95 class. RH_RF95 class does not provide for addressing or | |
// reliability, so you should only use RH_RF95 if you do not need the higher | |
// level messaging abilities. | |
// It is designed to work with the other example Feather9x_RX | |
#include <SPI.h> | |
#include <RH_RF95.h> |
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) 2015 Thomas Telkamp and Matthijs Kooijman | |
* Copyright (c) 2018 Terry Moore, MCCI | |
* | |
* Permission is hereby granted, free of charge, to anyone | |
* obtaining a copy of this document and accompanying files, | |
* to do whatever they want with them without any restriction, | |
* including, but not limited to, copying, modification and redistribution. | |
* NO WARRANTY OF ANY KIND IS PROVIDED. | |
* |
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
// Feather9x_TX | |
// -*- mode: C++ -*- | |
// Example sketch showing how to create a simple messaging client (transmitter) | |
// with the RH_RF95 class. RH_RF95 class does not provide for addressing or | |
// reliability, so you should only use RH_RF95 if you do not need the higher | |
// level messaging abilities. | |
// It is designed to work with the other example Feather9x_RX | |
#include <SPI.h> | |
#include <RH_RF95.h> |
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
// Decode decodes an array of bytes into an object. | |
// - fPort contains the LoRaWAN fPort number | |
// - bytes is an array of bytes, e.g. [225, 230, 255, 0] | |
// The function must return an object, e.g. {"temperature": 22.5} | |
function bin2String(array) { | |
return String.fromCharCode.apply(String, array); | |
} | |
function bin2HexStr(arr) |
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
// Decode decodes an array of bytes into an object. | |
// - fPort contains the LoRaWAN fPort number | |
// - bytes is an array of bytes, e.g. [225, 230, 255, 0] | |
// The function must return an object, e.g. {"temperature": 22.5} | |
function bin2String(array) { | |
return String.fromCharCode.apply(String, array); | |
} | |
function bin2HexStr(arr) |
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
float inny; | |
void setup() { | |
// put your setup code here, to run once: | |
Serial.begin(115200); | |
Serial1.begin(115200); | |
} | |
void loop() { |
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) 2015 Thomas Telkamp and Matthijs Kooijman | |
* Copyright (c) 2018 Terry Moore, MCCI | |
* | |
* Permission is hereby granted, free of charge, to anyone | |
* obtaining a copy of this document and accompanying files, | |
* to do whatever they want with them without any restriction, | |
* including, but not limited to, copying, modification and redistribution. | |
* NO WARRANTY OF ANY KIND IS PROVIDED. | |
* |