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
/******************************************************************************* | |
Main Source File | |
Company: | |
Microchip Technology Inc. | |
File Name: | |
main.c | |
Summary: |
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
void setup() { | |
Serial.begin(9600); | |
} | |
void loop() { | |
Serial.println("A1,0,0,804.04,37.60,46.55,-32.09,77.14,-16044,192,-4992,-889,-575,-173,19.688168,-100.559210,-40"); | |
delay(2000); | |
} |
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
/******************************************************************************* | |
Created by Eduardo Contreras @ Electronic Cats 2016 | |
Based on Copyright (c) 2015 Thomas Telkamp and Matthijs Kooijman | |
PLEASE REFER TO THIS LMIC LIBRARY https://github.com/things-nyc/arduino-lmic | |
LoRaShield | |
In this example you can send GPS information (Compatible with the L80) | |
or a temperature read by the ADC | |
Example | |
*******************************************************************************/ |
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
var express = require('express') | |
, routes = require('./routes') | |
, user = require('./routes/user') | |
, http = require('http') | |
, path = require('path'); | |
const fs = require('fs'); | |
var fetch = require('node-fetch'); | |
var atob = require('atob'); | |
var Highcharts = require('highcharts'); |
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
////////////////Medidor de basura/////////////////// | |
{"app_id":"rfm95", | |
"dev_id":"garbage", | |
"hardware_serial":"00CA6F3FA81EBFF8", | |
"port":1, | |
"counter":134, | |
"payload_raw":"AQATWA==", | |
"payload_fields":{ |
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
#include <SPI.h> | |
//#include <tinySPI.h> | |
//#include <avr/sleep.h> | |
//#include <avr/wdt.h> | |
#define DIO0 2 | |
#define DIO5 5 | |
#define NSS 10 | |
#define TEMP A2 |
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
#include "mcc_generated_files/mcc.h" | |
//#include "AES-128_V10.h" | |
#include "mcc_generated_files/LoRaWAN/lorawan_aes.h" | |
#include "mcc_generated_files/LoRaWAN/AES.h" | |
void RFM_Write(uint8_t, uint8_t); | |
uint8_t RFM_Read(uint8_t); | |
void RFM_Init(void); | |
void RFM_Continuous_Receive(void); | |
static void RFM_Reset(void); |
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
/******************************************************************************* | |
Created by Eduardo Contreras @ Electronic Cats 2016 | |
Based on Copyright (c) 2015 Thomas Telkamp and Matthijs Kooijman | |
PLEASE REFER TO THIS LMIC LIBRARY https://github.com/things-nyc/arduino-lmic | |
LoRaShield | |
In this example you can send GPS information (Compatible with the L80) | |
or a temperature read by the ADC | |
Example | |
*******************************************************************************/ |
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 2017 Roguish, Inc. | |
Licensed under the Apache License, Version 2.0 (the "License"); | |
you may not use this file except in compliance with the License. | |
You may obtain a copy of the License at | |
http://www.apache.org/licenses/LICENSE-2.0 |
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
#include <lmic.h> | |
#include <hal/hal.h> | |
#include <SPI.h> | |
#include <math.h> | |
#include <SoftwareSerial.h> | |
#define _USE_GPS_ | |
#ifdef _USE_GPS_ |
NewerOlder