uM2(+): 64x32 RGB LED matrix display


Author Message
lew247

Guru

Joined: 23/12/2015
Location: United Kingdom
Posts: 1709
Posted: 01:01am 08 Jul 2016      

Peter I've tried this and had success but I'd like to ask some questions if you don't mind me asking.

IF I want to write to a specific section of the display how would I do it?
an example - in the middle of the display IF I wanted to have in large red letters "TOO CLOSE" and underneath it "BACKUP" (flashing) how could I do this?

Also could you explain to me how your example code works please?
[code]TEXT 2,16,"geoffg.net",lm,8,1,RGB(red)
DO
FOR x = 64 to -60 STEP -1
TEXT x,6,"Micromite+",lm,8,1,RGB(green)
a=4-x
TEXT a,26,"Micromite+",lm,8,1,RGB(magenta)
box a-64,22,64,8,0,0,rgb(black)
pause 50
NEXT x
loop[/code]

Text obviously means write TEXT what are the 2,16 on the 1st line? also the 1m, 8, 1 for?
text a?
box box a-64,22,64,8,0,0,rgb(black) I don't get this line at all, I didn't see a box.

I'm guessing for x = 64 to - 60 STEP -1 means scroll to the left 1 letter at a time?
if you wanted to scroll right would you do STEP 1?

If I want to "flash" a letter/word could I do this easily?

It would look at first if I have a slightly different version of this board than you do - looking at my display working compared to yours.

Video of mine working HERE






EDIT: I've just realised that although the code says the 1st line should be GREEN it's actually RED - no idea why

EDIT 2: I originally had the OE and GND lines reversed, put them back but it didn;t change much, apart from the "M" on the last line is a bit "funny" now

EDIT 3: Here's the pinout of my connector


Edited by lew247 2016-07-09