8x8 Materix LED For Arduino
8x8 Materix LED For Arduino
To fix your speaker problem - Go to Settings > Bluetooth > Turn On and wait for your list of
devices to populate. Locate your speaker and Long Press it (press and hold) and then
select Un-pair. You'll be free to attempt to pair it again with the proper PIN!
If your device isn't paired with the phone, but it's still not connecting, you can try clearing
your Bluetooth cache. Turn off Bluetooth, then Go to Settings > Applications > All > Bluetooth Share
and tap "Force Stop," then "Clear Cache," then "Clear Data. If the device was ever paired or a pairing
ever failed, it may have stored those credentials regardless of success. This should give
you a fresh chance at it.
As for why you can't specify what PIN your speaker provides your phone - it's because the
default PIN is assigned to the device when it's made, and can't be changed by the average
consumer. Most 'dumb' Bluetooth devices have no way of changing the PIN it comes with.
art
lights
374,099 VIEWS
67 COMMENTS
310 RESPECTS
Breadboard
× 2
(generic)
Arduino UNO × 1
Adafruit 8x8
× 1
LED Matrix
Adafruit USB
Cable -
× 1
Standard A-B
for ARDUINO
I have programmed this with all the letters of the alphabet,if you wish to add something go
HERE: http://robojax.com/learn/arduino/8x8LED/
In the left hand part of the page there will be an 8x8 matrix, with all the Leds off, by clicking them they
will turn on and at the bottom of the page there will be the code that represents what you are doing to
the matrix, when finished change the "sprite name " and paste the code that you just made, in the code
that I made.
FrequencyTimer2
https://github.com/rookie/FrequencyTimer2
art
lights
374,099 VIEWS
67 COMMENTS
310 RESPECTS
Breadboard
× 2
(generic)
Arduino UNO × 1
Adafruit 8x8
× 1
LED Matrix
Adafruit USB
Cable -
× 1
Standard A-B
for ARDUINO
I have programmed this with all the letters of the alphabet,if you wish to add something go
HERE: http://robojax.com/learn/arduino/8x8LED/
In the left hand part of the page there will be an 8x8 matrix, with all the Leds off, by clicking them they
will turn on and at the bottom of the page there will be the code that represents what you are doing to
the matrix, when finished change the "sprite name " and paste the code that you just made, in the code
that I made.
FrequencyTimer2
Which you can download from:
https://github.com/rookie/FrequencyTimer2
CODE
Here's the codeArduino
//update from SAnwandter
#define ROW_1 2
#define ROW_2 3
#define ROW_3 4
#define ROW_4 5
#define ROW_5 6
#define ROW_6 7
#define ROW_7 8
#define ROW_8 9
#define COL_1 10
#define COL_2 11
#define COL_3 12
#define COL_4 13
#define COL_5 A0
#define COL_6 A1
#define COL_7 A2
#define COL_8 A3
};
};
float timeCount = 0;
void setup()
Serial.begin(9600);
pinMode(i, OUTPUT);
pinMode(A0, OUTPUT);
pinMode(A1, OUTPUT);
pinMode(A2, OUTPUT);
pinMode(A3, OUTPUT);
void loop() {
// This could be rewritten to not use a delay, which would make it appear brighter
delay(5);
timeCount += 1;
if(timeCount < 20)
drawScreen(A);
drawScreen(R);
drawScreen(D);
drawScreen(U);
drawScreen(I);
drawScreen(N);
drawScreen(O);
}
else if (timeCount < 160)
drawScreen(ALL);
drawScreen(ALL);
else {
timeCount = 0;
//delayMicroseconds(1000);
//delay(10);
//delay(100);
digitalWrite(col[a], 1); // reset whole column
//
/* this is siplest resemplation how for loop is working with each row.
digitalWrite(COL_1, (~b >> 0) & 0x01); // Get the 1st bit: 10000000
digitalWrite(COL_2, (~b >> 1) & 0x01); // Get the 2nd bit: 01000000
digitalWrite(COL_3, (~b >> 2) & 0x01); // Get the 3rd bit: 00100000
digitalWrite(COL_4, (~b >> 3) & 0x01); // Get the 4th bit: 00010000
digitalWrite(COL_5, (~b >> 4) & 0x01); // Get the 5th bit: 00001000
digitalWrite(COL_6, (~b >> 5) & 0x01); // Get the 6th bit: 00000100
digitalWrite(COL_7, (~b >> 6) & 0x01); // Get the 7th bit: 00000010
digitalWrite(COL_8, (~b >> 7) & 0x01); // Get the 8th bit: 00000001
}*/