Pages: 1 [2]   Go Down
Author Topic: Displaying a letter in 8x5 LED Matrix  (Read 520 times)
0 Members and 1 Guest are viewing this topic.
Guwahati, Assam, India
Offline Offline
Newbie
*
Karma: 0
Posts: 20
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

okay,
Now I have an entirely new problem.

In my 5 row 8 column hardware, all cathode are connected column wise. So that way if Is send 11111110 as column bit, the LED corresponding to bit 0 glows up and rest are OFF. Now if I left shift it by 1 ((11111110)<<1) I get 11111100 and this result in two LED lighting up but I want 11111101 when it left shifts by 1 (Kind of circular shift so that new bit 0 is replaced by bit 7) of the same byte ?

Is this possible ?? I could not figure out a way
Logged

Global Moderator
Boston area, metrowest
Online Online
Brattain Member
*****
Karma: 536
Posts: 27054
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

That kind of messiness is why have the bytes from memory represent the "vertical" data:

each column is 1 byte of memory, with the upper 3 bits not used, so "A b" might look like this:
Code:
00000000
00000000
00000000
11111000
10011000
11111111
10011001
10011111

  

« Last Edit: August 18, 2014, 12:25:44 am by CrossRoads » Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Guwahati, Assam, India
Offline Offline
Newbie
*
Karma: 0
Posts: 20
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Well,

I did not get it.

Can you elaborate if you don't mind.
Logged

Pages: 1 [2]   Go Up
Jump to: