Skip to content

Instantly share code, notes, and snippets.

@Thiemann96
Thiemann96 / LoRaLowPower.ino
Last active September 12, 2019 12:06
Sketch for the senseBox which transmits sensor data via LoRa. Shuts off MCU in between measuring intervalls. Sends every 5 minutes. You need to provide your TTN credentials in the code !
/*
senseBox:home - Citizen Sensingplatform
Version: lorav2.0.0
Date: 2018-09-11
Homepage: https://www.sensebox.de https://www.opensensemap.org
Author: Reedu GmbH & Co. KG
Note: Sketch for senseBox:home LoRa MCU Edition
Model: homeV2lora
Email: support@sensebox.de
Code is in the public domain.
@Thiemann96
Thiemann96 / SwitchInterrupt.ino
Created August 8, 2019 13:59
Simple Arduino Sketch that Interrupts blinking on a button click
/*
digitalRead(0)
1 - Nix
0 - Button ist gedrückt
*/
bool interrupted = false;
void setup(){