Skip to content

Instantly share code, notes, and snippets.

@paramaggarwal
paramaggarwal / FeemoMatrixAdapter.ino
Created September 17, 2012 16:05
Feemo Matrix Adapter Sample Code
const int clockPin = 13;
const int dataPin = 11;
const int latchPin = 10;
byte arrow[8]={0x18,0x3C,0x66,0xDB,0x18,0x18,0x18,0x18};
byte displayBuffer[8]= {0};
int fontDefinitions[475] = {
0x00,0x00,0x00,0x00,0x00,/*space*/ // is 32 in ASCII
0x00,0xF6,0xF6,0x00,0x00,/*!*/
@paramaggarwal
paramaggarwal / MultipleTweets.ino
Created September 17, 2012 14:21
Scrolling Tweets using multiple LED matrix displays
#include <SPI.h>
#include <WiFly.h>
#include <avr/pgmspace.h>
#define DELAY 100
#define SPEED 20
char passphrase[] = "digital6";
char ssid[] = "APE-1349";
const int clockPin = 3; //13
@paramaggarwal
paramaggarwal / gist:3737474
Created September 17, 2012 14:05
Arduino WiFly Shield Example Code
#include <SPI.h>
#include <WiFly.h>
// Wifi parameters
char passphrase[] = "passphrase";
char ssid[] = "ssid";
WiFlyClient client("google.com", 80);
void setup() {
@paramaggarwal
paramaggarwal / MultipleDisplayText.ino
Created September 17, 2012 11:55
Scrolling Text on three Feemo Matrix Adapters using Arduino
const int clockPin = 12;
const int latchPin = 11;
const int dataPin1 = 7;
const int dataPin2 = 6;
const int dataPin3 = 5;
byte arrow[8]={0x18,0x3C,0x66,0xDB,0x18,0x18,0x18,0x18};
byte displayBuffer[24]= {0};
int fontDefinitions[475] = {
@paramaggarwal
paramaggarwal / gist:3736871
Created September 17, 2012 11:47
Arrow Snippet - Multiple LED Matrix control from Arduino
const int clockPin = 12;
const int latchPin = 11;
const int dataPin1 = 7;
const int dataPin2 = 6;
const int dataPin3 = 5;
byte displayBuffer[24]= {0x18,0x3C,0x66,0xDB,0x18,0x18,0x18,0x18, 0x18,0x3C,0x66,0xDB,0x18,0x18,0x18,0x18, 0x18,0x3C,0x66,0xDB,0x18,0x18,0x18,0x18};
void setup() {
pinMode(clockPin, OUTPUT);