Skip to content

Instantly share code, notes, and snippets.

View diegocouto's full-sized avatar

Diego Couto diegocouto

View GitHub Profile
@diegocouto
diegocouto / arduinoNotifier.pde
Created February 10, 2013 21:33
An experiment using Ruby and an Arduino to notify the user about unseen email messages.
const int led = 3;
boolean active = false;
void setup() {
Serial.begin(9600);
pinMode(led, OUTPUT);
}
void loop() {
if (Serial.available() > 0) {