![]() |
Forum Index : Microcontroller and PC projects : Armmite text command at bottom of screen - bug?
Author | Message | ||||
vegipete![]() Guru ![]() Joined: 29/01/2013 Location: CanadaPosts: 1132 |
So I'm playing with an Armmite F4 (STM32F407VET6, firmware version 5.051 as described in this topic) and I am seeing some perhaps undesireable behaviour with the 'text' command. From the command line: cls ' works fine text 10,109,"test",,5 ' works fine text 275,200,"test",,5 ' works fine, text vanishes off right edge text 10,208,"test",,5 ' works fine, text at bottom of screen text 50,209,"test",,5 ' oh no, text is completely gone! text 50,220,"test",,5 ' hmmm, weird bits of text appearing at top of screen text 50,230,"test",,5 ' different bits of weird text at top for y = 100 to 250 : text 50,y,"test",,5 : next y ' well now, ain't that interesting! That last line should help figure out what is going on. Note I'm only using font 5 because it is large and easier to see the effect. Other fonts behave the same. Do other flavours of 'mite behave similarly? Regards. Visit Vegipete's *Mite Library for cool programs. |
||||
Chopperp![]() Guru ![]() Joined: 03/01/2018 Location: AustraliaPosts: 1097 |
Hi Vegipete What size panel are you using? I get the same with a 3.2" panel which is to be expected as the resolution is only 320 (H) * 240(V) OK on a 7" display Brian Edited 2020-06-01 16:12 by Chopperp ChopperP |
||||
vegipete![]() Guru ![]() Joined: 29/01/2013 Location: CanadaPosts: 1132 |
Quite right, I should have specified my panel size. I'm testing with a 320x240 panel in landscape mode. Here is an image of the result of the last (loop) command I gave above: ![]() Try the command with bigger screens but adjust the end of the y-loop to be just off the bottom of the screen. My goal was to position text part way off the right and bottom edges of the screen. The right edge works fine. The bottom edge does not. For completeness, I must test the top and left edges too... Yes, top and left edges seem to work fine. Note all these tests are with the default alignment of 'left/top'. Visit Vegipete's *Mite Library for cool programs. |
||||
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |