Skip to content

Instantly share code, notes, and snippets.


  • Milan, Italy
Block or report user

Report or block simonebaracchi

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
simonebaracchi / temperature_example.ino
Created Oct 5, 2015
Temperature beacon example with Arduino and BTLE library
View temperature_example.ino
* Emulates a nRF8001 temperature beacon;
* reads temperature from a DHT11 and sends it via BTLE.
* Compatible with Nordic Semiconductor apps such as
* nRF Master Control Panel or nRF Temp 2.0.
#include <BTLE.h>
#include <SPI.h>
# is a log file browser
# Usage: <logfile>
# input strings you want to filter out
# and then "open" when you want to see the full (filtered) results
# add multiple filters at once by separating them with pipes, e.g. filter1|filter2|etc
View power_saving.ino
#include <avr/sleep.h>
#include <avr/power.h>
#include <avr/wdt.h>
// watchdog interrupt
ISR (WDT_vect)
wdt_disable(); // disable watchdog
You can’t perform that action at this time.