3 led’s display

For questions and comments on programming in general. And for any items that don't fit into the forums below.

Moderators: Benj, Mods

Post Reply
armagon29
Posts: 56
Joined: Thu May 07, 2009 4:40 pm
Been thanked: 2 times
Contact:

3 led’s display

Post by armagon29 »

I built this project using 3 led’s display (OSRAM PD4437) , but I can print only 1 digit at time, How does It do to print more than 1 digit at time, for example send “ CARAMELO” then this word will be print into displays
Attachments
PD4437 SERIAL V1.fcf
(80.21 KiB) Downloaded 196 times

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: 3 led’s display

Post by Benj »

Hello,

Do you need a macro to work out the size of the string, then loop from 0 to the string length - 1. Each time around the loop you pass a character from your string to the display by using the loop count variable as your array index.

Send_Char_To_Display ( string[index] )

Hope this helps.

armagon29
Posts: 56
Joined: Thu May 07, 2009 4:40 pm
Been thanked: 2 times
Contact:

Re: 3 led’s display

Post by armagon29 »

Dear Sir:

Im afraid , I did something wrong, now noting happen

Could you be so kindly to check my macro

Thanks
Attachments
PD4437 SERIAL V2.fcf
(81.24 KiB) Downloaded 214 times

Post Reply