hello all,
last time i added togheter with hari the serial and the eeprom parts.
only the problem is now that i got 5 new matrixes and bigger then the ones i had last time.
since i got those bigger i got the problem is total lost.
the leds are kinda low ( barly give light) and the character are like big blocks. with some leds are more power then others.. can some one maybe give me idea how to fix it?
the only diffrent between the little and big ones are in the big ones they got 2 leds in a dot. but still 64 dots but then with 2 leds each dot.
i was thinking about lowering the resistor but it is not really working.
more weird is that if i just power the matrix by hand. so give pin 4 5v and pin 16 GND it gives normal power and good to see. but when i use with the code and the shift registers it wont work good..
someone maybe have a idea how to fix it?
thanks anyway for the ppl who think with me.fixxed, dumb me i forget the 5V and GND. btw the code down here is only working for hari's code.
tested with the hexdecimal version but you need to set all to hexidecimal first.
grz
spikie
p.s.
for the guy above who needed numbers and stuff in his library:
byte alphabets[][5] = {
{0,0,0,0,0}, // spatie ASCII 32
{0,0,253,0,0}, // uitroepteken ASCII 33
{0,96,0,96,0}, // " ASCII 34
{20,127,20,127,20}, // # ASCII 35
{36,42,127,42,18}, // $ ASCII 36
{17,2,4,8,17}, // % ASCII 37
{54,73,85,34,5}, // & ASCII 38
{0,0,104,112,0}, // ' ASCII 39
{28,34,65}, // ( ASCII 40
{65,34,28}, // ) ASCII 41
{20,8,62,8,20}, // * ASCII 42
{8,8,62,8,8}, // + ASCII 43
{0,0,5,6,0}, // , ASCII 44
{8,8,8,8,8}, // - ASCII 45
{0,0,1,0,0}, // . ASCII 46
{1,2,4,8,16}, // / ASCII 47
{62,69,73,81,62}, // 0 ASCII 48
{0,33,127,1,0}, // 1 ASCII 49
{33,67,69,73,49}, // 2 ASCII 50
{66,65,81,105,70}, // 3 ASCII 51
{12,20,36,127,4}, // 4 ASCII 52
{113,81,81,81,78}, // 5 ASCII 53
{30,41,73,73,6}, // 6 ASCII 54
{64,64,79,80,96}, // 7 ASCII 55
{54,73,73,73,54}, // 8 ASCII 56
{48,73,73,74,60}, // 9 ASCII 57
{0,0,54,54,0}, // : ASCII 58
{0,0,53,54,0}, // ; ASCII 59
{0,8,20,34,65}, // < ASCII 60
{20,20,20,20,20}, // = ASCII 61
{0,65,34,20,8}, // > ASCII 62
{32,64,69,72,48}, // ? ASCII 63
{38,73,77,65,62}, // @ ASCII 64
{31,36,68,36,31}, // A ASCII 65
{127,73,73,73,54}, // B ASCII 66
{62,65,65,65,34}, // C ASCII 67
{127,65,65,34,28}, // D ASCII 68
{127,73,73,65,65}, // E ASCII 69
{127,72,72,72,64}, // F ASCII 70
{62,65,65,69,38}, // G ASCII 71
{127,8,8,8,127}, // H ASCII 72
{0,65,127,65,0}, // I ASCII 73
{2,1,1,1,126}, // J ASCII 74
{127,8,20,34,65}, // K ASCII 75
{127,1,1,1,1}, // L ASCII 76
{127,32,16,32,127}, // M ASCII 77
{127,32,16,8,127}, // N ASCII 78
{62,65,65,65,62}, // O ASCII 79
{127,72,72,72,48}, // P ASCII 80
{62,65,69,66,61}, // Q ASCII 81
{127,72,76,74,49}, // R ASCII 82
{50,73,73,73,38}, // S ASCII 83
{64,64,127,64,64}, // T ASCII 84
{126,1,1,1,126}, // U ASCII 85
{124,2,1,2,124}, // V ASCII 86
{126,1,6,1,126}, // W ASCII 87
{99,20,8,20,99}, // X ASCII 88
{96,16,15,16,96}, // Y ASCII 89
{67,69,73,81,97}, // Z ASCII 90
{0,127,65,65,0}, // [ ASCII 91
{0,0,0,0,0}, // \ ASCII 92
{0,65,65,127,0}, // ] ASCII 93
{16,32,64,32,16}, // ^ ASCII 94
{1,1,1,1,1}, // _ ASCII 95
{0,64,32,16,0}, // ` ASCII 96
{2,21,21,21,15}, // a ASCII 97
{127,5,9,9,6}, // b ASCII 98
{14,17,17,17,2}, // c ASCII 99
{6,9,9,5,127}, // d ASCII 100
{14,21,21,21,12}, // e ASCII 101
{8,63,72,64,32}, // f ASCII 102
{24,37,37,37,62}, // g ASCII 103
{127,8,16,16,15}, // h ASCII 104
{0,0,47,0,0}, // i ASCII 105
{2,1,17,94,0}, // j ASCII 106
{127,4,10,17,0}, // k ASCII 107
{0,65,127,1,0}, // l ASCII 108
{31,16,12,16,31}, // m ASCII 109
{31,8,16,16,15}, // n ASCII 110
{14,17,17,17,14}, // o ASCII 111
{31,20,20,20,8}, // p ASCII 112
{8,20,20,12,31}, // q ASCII 113
{31,8,16,16,8}, // r ASCII 114
{2,21,21,21,9}, // s ASCII 115
{16,126,17,1,2}, // t ASCII 116
{30,1,1,2,31}, // u ASCII 117
{28,2,1,2,28}, // v ASCII 118
{30,1,6,1,30}, // w ASCII 119
{17,10,4,10,17}, // x ASCII 120
{24,5,5,5,30}, // y ASCII 121
{17,19,21,25,17}, // z ASCII 122
{0,0,8,54,65}, // { ASCII 123
{0,0,127,0,0}, // | ASCII 124
{65,54,8,0,0}, // } ASCII 125
and then futher in the code fix this line:
int alphabetIndex = restored[charIndex] - '@'; into
int alphabetIndex = restored[charIndex] - ' ';