Skip to content

Commit

Permalink
Update HTTPServer.ino
Browse files Browse the repository at this point in the history
Values fixed for TinyDuino WiFi shield
  • Loading branch information
scalefree authored Aug 19, 2016
1 parent c5335e6 commit 899ebed
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions examples/HTTPServer/HTTPServer.ino
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,11 @@
#include "utility/socket.h"

// These are the interrupt and control pins
#define ADAFRUIT_CC3000_IRQ 3 // MUST be an interrupt pin!
// Values fixed for TinyDuino shield
#define ADAFRUIT_CC3000_IRQ 2 // MUST be an interrupt pin!
// These can be any two pins
#define ADAFRUIT_CC3000_VBAT 5
#define ADAFRUIT_CC3000_CS 10
#define ADAFRUIT_CC3000_VBAT A3
#define ADAFRUIT_CC3000_CS 8
// Use hardware SPI for the remaining pins
// On an UNO, SCK = 13, MISO = 12, and MOSI = 11

Expand Down Expand Up @@ -266,4 +267,4 @@ bool displayConnectionDetails(void)
Serial.println();
return true;
}
}
}

0 comments on commit 899ebed

Please sign in to comment.