Moderators: adafruit_support_bill, adafruit
// Ethernet Libraries
#include <Ethernet.h>
//#include <SPI.h>
// LED Matrix Libraries.
#include <Adafruit_GFX.h> // Core graphics library
#include <RGBmatrixPanel.h> // Hardware-specific library
////////////////////////////////////////////////////////////////////////
// Matrix Pin Layout:
#define CLK 8
#define OE 9
#define LAT 10
#define A A0
#define B A1
#define C A2
#define D A3
RGBmatrixPanel matrix(A, B, C, D, CLK, LAT, OE, false);
////////////////////////////////////////////////////////////////////////
//Variable Set Up:
String tempValue;
String pageValue;
String uid = "wonderroomarduino"; // Arduinos Unique ID Goes here!
////////////////////////////////////////////////////////////////////////
//CONFIGURE
////////////////////////////////////////////////////////////////////////
byte server[] = { 173,254,28,46 }; //ip Address of the server you will connect to
// if need to change the MAC address (Very Rare)
byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED };
////////////////////////////////////////////////////////////////////////
void setup() {
//The location to go to on the server
//make sure to keep HTTP/1.0 at the end, this is telling it what type of file it is
//String weblocal = "/~evansch1/arduinoadmin/fbconn.php?uid=" + uid + " HTTP/1.0";
matrix.begin();
matrix.setCursor(4, 12); // start at top left, with one pixel of spacing
matrix.setTextSize(1); // size 1 == 8 pixels high
matrix.setTextWrap(false); // Don't wrap at end of line - will do ourselves
matrix.setTextColor(matrix.Color333(7,7,7));
matrix.println("test");
}
void loop(){
}Return to Glowy things (LCD, LED, TFT, EL) purchased at Adafruit
Users browsing this forum: Google [Bot] and 3 guests