![]() |
Forum Index : Microcontroller and PC projects : Graphics on the ARMmite - teaser
![]() ![]() |
|||||
Author | Message | ||||
WhiteWizzard Guru ![]() Joined: 05/04/2013 Location: United KingdomPosts: 2948 |
I assume you did this by scaling??? If so, how about two scale parameters: an x-scale factor AND a y-scale factor? This way you could have tall & thin as well as short & fat fonts ![]() (I'm only suggesting these things as I can genuinely see very valid uses by lots of people - i.e. not just a 'niche' suggestion that may be used by the odd person). (Bet you wish you'd never asked for my feedback now!) |
||||
Justplayin![]() Guru ![]() Joined: 31/01/2014 Location: United StatesPosts: 330 |
I LIKE IT!!! ![]() --Curtis I am not a Mad Scientist... It makes me happy inventing new ways to take over the world!! |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10400 |
What - like this ![]() |
||||
WhiteWizzard Guru ![]() Joined: 05/04/2013 Location: United KingdomPosts: 2948 |
Ok now the 'ball is back in my side of the court'!! First of all, is this scaled with x & y scale factors? (I assume it is but would appreciate confirmation). I also assume colour and invert are included (I think maybe mentioned on page1 of this thread). So something to keep you occupied for another few minutes: how about an 'angle' parameter in deg? ![]() |
||||
plasma Guru ![]() Joined: 08/04/2012 Location: GermanyPosts: 437 |
looks like the 1 and the 4 are not the same size as the other Numbers |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10400 |
The syntax is: DISPLAY font, xstart, ystart, foreground colour, background colour, textstring, (optional x-scale, or x and y if only this parameter specified),(Optional y-scale) so if you want black on red the syntax would be dim integer BLACK = &H0000 ' Color definitions: 16 bit (RGB565) colour palette so these are just examples const BLUE = &H001F const RED = &HF800 const GREEN = &H07E0 const CYAN = &H07FF const MAGENTA=&HF81F const YELLOW= &HFFE0 const WHITE = &HFFFF ' cls red display 9,0,0,black,red,"123456",2,4 |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10400 |
Think about it ![]() |
||||
Zonker![]() Guru ![]() Joined: 18/08/2012 Location: United StatesPosts: 772 |
Man... All of this stuff will now be inside the core, and to use it takes very little coding work in basic... Life is good..!! ![]() |
||||
Grogster![]() Admin Group ![]() Joined: 31/12/2012 Location: New ZealandPosts: 9641 |
Can I just confirm that these fonts and scaling features etc, will only be available on the STM port of MMBASIC, correct? I expect that the 470, even though it is a powerful beast, probably does not have the memory for all the font data etc. And, fantastic work going on here guys. The larger fonts in the demo shot in the last page, are of a size I expect I could use for reading from a distance, which is what I need in my application. "7-inch TFT! 7-inch TFT! Where for art thou, 7-inch TFT?" Smoke makes things work. When the smoke gets out, it stops! |
||||
boss![]() Senior Member ![]() Joined: 19/08/2011 Location: CanadaPosts: 268 |
@matherp Awesome, when this FW will available? Bo |
||||
aargee Senior Member ![]() Joined: 21/08/2008 Location: AustraliaPosts: 255 |
Matherp: That was me looking for a large display. For a "day" clock design for my mother. Do you have a link or will anything like this one work? For crying out loud, all I wanted to do was flash this blasted LED. |
||||
Grogster![]() Admin Group ![]() Joined: 31/12/2012 Location: New ZealandPosts: 9641 |
@ aargee - I have one of these exact 7" screens coming, and I will be testing it first with the 470 using matherp's drivers. I do not have an ARMmite board - yet.(but will be getting one very soon, so I can play around with the ARM version of MMBASIC) Smoke makes things work. When the smoke gets out, it stops! |
||||
Zonker![]() Guru ![]() Joined: 18/08/2012 Location: United StatesPosts: 772 |
Ok... Just ordered the 7" like one above... I noticed it also seems to have a SD card socket too.. That should work out later (hopefully).. ![]() |
||||
Grogster![]() Admin Group ![]() Joined: 31/12/2012 Location: New ZealandPosts: 9641 |
Yes, the SD card connections are routed to the I/O pins, so you could make use of that, if the ARMmite ever integrates a filesystem. Not sure it would though, as we are still talking MCU territory here, rather then computer with filesystem. I expect a filesystem would gobble up a reasonable chunk of available flash, yes? ...perhaps not... Smoke makes things work. When the smoke gets out, it stops! |
||||
paceman Guru ![]() Joined: 07/10/2011 Location: AustraliaPosts: 1329 |
In the same spirit that Plasma above noted that the "1" and the "4" look short, I have to tell you Grogs that "where for art though" should be "wherefore art though". ![]() Greg |
||||
JohnS Guru ![]() Joined: 18/11/2011 Location: United KingdomPosts: 4071 |
I think you mean "wherefore art thou" (thou = you) Modern English would be where are you I suppose. Even northerners don't use thee, thou, thine etc much now. John |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10400 |
I'll post ASASP but need to do some documentation of the new features first to make them usable |
||||
jman![]() Guru ![]() Joined: 12/06/2011 Location: New ZealandPosts: 711 |
Thanks for the update. ARM board has arrived eagerly awaiting the new firmware Jman |
||||
paceman Guru ![]() Joined: 07/10/2011 Location: AustraliaPosts: 1329 |
In the same spirit that Plasma above noted that the "1" and the "4" look short, I have to tell you Grogs that "where for art though" should be "wherefore art though". ![]() Greg I think you mean "wherefore art thou" John Err yeah, dead right John. We Oztralians shouldn't try to correct a kiwi. Best to leave it to a proper Brit. ![]() |
||||
Grogster![]() Admin Group ![]() Joined: 31/12/2012 Location: New ZealandPosts: 9641 |
"7-inch TFT! 7-inch TFT! Where the hell are you, 7-inch TFT!" Satisfied? ![]() ![]() ![]() ![]() Smoke makes things work. When the smoke gets out, it stops! |
||||
![]() ![]() |
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |