3 led’s display
3 led’s display
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
- 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
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Re: 3 led’s display
Dear Sir:
Im afraid , I did something wrong, now noting happen
Could you be so kindly to check my macro
Thanks
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