Create a gist now

Instantly share code, notes, and snippets.

anonymous /gist:2732889
Created May 19, 2012

What would you like to do?
#include <Wire.h>
int pin;
int estado;
void setup()
void loop()
void receiveEvent(int howMany)
pin = Wire.receive();
estado = Wire.receive();
digitalWrite(pin, estado);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment