Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

examples fixed

  • Loading branch information...
commit f2a4450c6904693c2b5201bc04eb2f9379a242a9 1 parent 3fcd4f8
@ladyada ladyada authored
Showing with 4 additions and 4 deletions.
  1. +2 −2 examples/button/button.pde
  2. +2 −2 examples/toggle/toggle.pde
View
4 examples/button/button.pde
@@ -1,5 +1,5 @@
#include <Wire.h>
-#include "MCP23008.h"
+#include "Adafruit_MCP23008.h"
// Basic pin reading and pullup test for the MCP23008 I/O expander
// public domain!
@@ -12,7 +12,7 @@
// Input #0 is on pin 10 so connect a button or switch from there to ground
-MCP23008 mcp;
+Adafruit_MCP23008 mcp;
void setup() {
mcp.begin(); // use default address 0
View
4 examples/toggle/toggle.pde
@@ -1,5 +1,5 @@
#include <Wire.h>
-#include "MCP23008.h"
+#include "Adafruit_MCP23008.h"
// Basic toggle test for i/o expansion. flips pin #0 of a MCP23008 i2c
// pin expander up and down. Public domain
@@ -12,7 +12,7 @@
// Output #0 is on pin 10 so connect an LED or whatever from that to ground
-MCP23008 mcp;
+Adafruit_MCP23008 mcp;
void setup() {
mcp.begin(); // use default address 0
Please sign in to comment.
Something went wrong with that request. Please try again.