From bd7b74585fd7aa13ab0868747746be5f203a9b47 Mon Sep 17 00:00:00 2001 From: sessionm21 Date: Fri, 15 May 2020 13:52:42 +0100 Subject: [PATCH] remove some text bloat --- collar.cpp | 29 ----------------------------- 1 file changed, 29 deletions(-) diff --git a/collar.cpp b/collar.cpp index dc137de..328f622 100644 --- a/collar.cpp +++ b/collar.cpp @@ -1,35 +1,9 @@ -/******************************************************************************* - * The Things Network - ABP Feather - * - * Example of using an Adafruit Feather M0 and DHT22 with a - * single-channel TheThingsNetwork gateway. - * - * This uses ABP (Activation by Personalization), where session keys for - * communication would be assigned/generated by TTN and hard-coded on the device. - * - * Learn Guide: https://learn.adafruit.com/lora-pi - * - * Copyright (c) 2015 Thomas Telkamp and Matthijs Kooijman - * Copyright (c) 2018 Terry Moore, MCCI - * Copyright (c) 2018 Brent Rubell, Adafruit Industries - * - * 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. - *******************************************************************************/ #include #include #include #include - -// DHT digital pin and sensor type -#define DHTPIN 60 -#define DHTTYPE DHT22 - // LoRaWAN NwkSKey, network session key static const PROGMEM u1_t NWKSKEY[16] = { 0x52, 0x92, 0xC0, 0x72, 0x2D, 0x3C, 0x55, 0x5E, 0xE4, 0xB9, 0x9E, 0x9B, 0x88, 0x66, 0x47, 0xF1 }; @@ -70,9 +44,6 @@ const lmic_pinmap lmic_pins = { .dio = {2, 3, LMIC_UNUSED_PIN}, }; -// init. DHT -//DHT dht(DHTPIN, DHTTYPE); - /**************************************************** * Arduino drivers * - LoRaWAN