Hi,
I am reluctant to put this as a bug but cannot figure out what I am doing wrong, If anything.
I tried to print a number and it does not work, all I get is blocks. I then tried several other things and have come to the conclusion it is a bug.
If I print a number in the function IE 12345 in the screenshot below it prints, if I have a variable that is not being used in a calculation IE 12121 it prints but it I am incrementing a value it does not print the number, only blocks. I even tried to convert the number to a string and print that and the same.
Both the incrementing number and the equivalent string are working fine in the simulation.
Regards,
Bob
Raspberry Pi HDMI PrintNumber component
-
- Posts: 338
- http://meble-kuchenne.info.pl
- Joined: Sat Mar 19, 2022 4:53 pm
- Has thanked: 33 times
- Been thanked: 36 times
Re: Raspberry Pi HDMI PrintNumber component
Hi,
Could someone confirm if this is an issue or it is just me as I am a bit stuck if I cannot display numbers. If there is an issue is there a workaround?
Regards,
Bob
Could someone confirm if this is an issue or it is just me as I am a bit stuck if I cannot display numbers. If there is an issue is there a workaround?
Regards,
Bob
-
- Valued Contributor
- Posts: 1679
- Joined: Thu Dec 03, 2020 10:57 am
- Has thanked: 374 times
- Been thanked: 581 times
Re: Raspberry Pi HDMI PrintNumber component
Hi Bob
Unfortunately I am travelling so can't try in HW for you.
Following your posts with interest as since acquiring a few Pis I've really came to appreciate them. Anything I have done has been rock solid once running.
Regards
Unfortunately I am travelling so can't try in HW for you.
Following your posts with interest as since acquiring a few Pis I've really came to appreciate them. Anything I have done has been rock solid once running.
Regards
-
- Valued Contributor
- Posts: 1626
- Joined: Wed Dec 09, 2020 9:37 pm
- Has thanked: 142 times
- Been thanked: 758 times
Re: Raspberry Pi HDMI PrintNumber component
I think the issue is that you have 'Transparent' set to 1 in the print statements - where the value is fixed this doesn't cause an issue - but where it changes you'll get a gradual build up to a 'splodge'.
Martin
Martin
Re: Raspberry Pi HDMI PrintNumber component
Hi Martin,
You are 100% correct, I never expected that to happen. So the same thing is likely to happen if you over write the text in the same position.
I am making an example with various shapes, text and numbers so I will add a comment to that effect. I had tried it on the fixed texts and did not notice any difference.
What is strange and really has thrown me, if I have transparent on but disable the timer so the value is not changing I would have expected it to just show the default value but it shows the rectangles instead of numbers as well.
Regards,
Bob
You are 100% correct, I never expected that to happen. So the same thing is likely to happen if you over write the text in the same position.
I am making an example with various shapes, text and numbers so I will add a comment to that effect. I had tried it on the fixed texts and did not notice any difference.
What is strange and really has thrown me, if I have transparent on but disable the timer so the value is not changing I would have expected it to just show the default value but it shows the rectangles instead of numbers as well.
Regards,
Bob