Skip to content

Instantly share code, notes, and snippets.

#include <Akeru.h>
#include <OneWire.h>
#include <DallasTemperature.h>
#define TX 2
#define RX 3
const int pinCidlaDS = 7;
OneWire oneWireDS(pinCidlaDS);
@Kaniiisek
Kaniiisek / main.ino
Created March 9, 2017 09:07
SEND value
/* Akeru.h - sendSingleValues.ino
*
* Copyleft Snootlab 2016
*
* How to send a single analog value on the Sigfox network
*/
#include <Akeru.h>
#include <OneWire.h>
#include <DallasTemperature.h>
/* TD1208.cpp
*
* Copyright (C) 2016 IoTHerd
* Author : A. Limonet
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*
* TD1208 is library for Sigfox TD1208 use with Arduino platform.
* The library is designed to use SoftwareSerial library for serial communication between TD1208 module and Arduino.
#include "TD1208.h"
#define ATOK "OK"
#define ATCOMMAND "AT"
#define ATSIGFOXTX "AT$SS="
#define ATTEMPERATURE "ATI26"
#define ATCOMMAND_TIMEOUT (3000)
#define ATSIGFOXTX_TIMEOUT (30000)