Skip to content

Instantly share code, notes, and snippets.

View tegila's full-sized avatar

Edson Tégila tegila

View GitHub Profile
@tegila
tegila / logger.cpp
Last active August 29, 2015 14:08
Projeto Jarduino - Controle de irrigação online com dados sobre a humidade do solo, temperatura do ar e iluminação diária
#include <Arduino.h>
#include "TimerOne.h"
#include <dht.h>
#include <SdFat.h>
#include <SdFatUtil.h> // define FreeRam()
#define DHT22_PIN 5
#define SD_CHIP_SELECT SS // SD chip select pin