Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 09:48 17 Sep 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Graphics on the ARMmite - teaser

     Page 2 of 2    
Author Message
WhiteWizzard
Guru

Joined: 05/04/2013
Location: United Kingdom
Posts: 2948
Posted: 10:31am 16 Mar 2015
Copy link to clipboard 
Print this post

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 States
Posts: 330
Posted: 10:33am 16 Mar 2015
Copy link to clipboard 
Print this post

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 Kingdom
Posts: 10400
Posted: 10:47am 16 Mar 2015
Copy link to clipboard 
Print this post

  Quote  how about two scale parameters


What - like this



 
WhiteWizzard
Guru

Joined: 05/04/2013
Location: United Kingdom
Posts: 2948
Posted: 10:56am 16 Mar 2015
Copy link to clipboard 
Print this post

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: Germany
Posts: 437
Posted: 11:03am 16 Mar 2015
Copy link to clipboard 
Print this post

looks like the 1 and the 4 are not the same size as the other NumbersEdited by plasma 2015-03-17
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10400
Posted: 11:03am 16 Mar 2015
Copy link to clipboard 
Print this post

  Quote  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).


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




Edited by matherp 2015-03-17
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10400
Posted: 11:07am 16 Mar 2015
Copy link to clipboard 
Print this post

  Quote  looks like the 1 and the 4 are not the same size as the other Numbers


Think about it . It is a pseudo 7-segment font
 
Zonker

Guru

Joined: 18/08/2012
Location: United States
Posts: 772
Posted: 11:16am 16 Mar 2015
Copy link to clipboard 
Print this post

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 Zealand
Posts: 9641
Posted: 12:55pm 16 Mar 2015
Copy link to clipboard 
Print this post

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: Canada
Posts: 268
Posted: 01:38pm 16 Mar 2015
Copy link to clipboard 
Print this post

@matherp

Awesome, when this FW will available?


Bo
 
aargee
Senior Member

Joined: 21/08/2008
Location: Australia
Posts: 255
Posted: 03:22pm 16 Mar 2015
Copy link to clipboard 
Print this post

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 Zealand
Posts: 9641
Posted: 03:34pm 16 Mar 2015
Copy link to clipboard 
Print this post

@ 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 States
Posts: 772
Posted: 05:02pm 16 Mar 2015
Copy link to clipboard 
Print this post

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 Zealand
Posts: 9641
Posted: 05:35pm 16 Mar 2015
Copy link to clipboard 
Print this post

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: Australia
Posts: 1329
Posted: 09:36pm 16 Mar 2015
Copy link to clipboard 
Print this post

  Grogster said  "7-inch TFT! 7-inch TFT! Where for art thou, 7-inch TFT?"


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".

GregEdited by paceman 2015-03-18
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 4071
Posted: 10:03pm 16 Mar 2015
Copy link to clipboard 
Print this post

  paceman said  
  Grogster said  "7-inch TFT! 7-inch TFT! Where for art thou, 7-inch TFT?"


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"

(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 Kingdom
Posts: 10400
Posted: 10:06pm 16 Mar 2015
Copy link to clipboard 
Print this post

  Quote  Awesome, when this FW will available


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 Zealand
Posts: 711
Posted: 10:10pm 16 Mar 2015
Copy link to clipboard 
Print this post

Thanks for the update.
ARM board has arrived eagerly awaiting the new firmware

Jman
 
paceman
Guru

Joined: 07/10/2011
Location: Australia
Posts: 1329
Posted: 12:49am 17 Mar 2015
Copy link to clipboard 
Print this post

  JohnS said  
  paceman said  
  Grogster said  "7-inch TFT! 7-inch TFT! Where for art thou, 7-inch TFT?"

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 Zealand
Posts: 9641
Posted: 01:11am 17 Mar 2015
Copy link to clipboard 
Print this post

"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!
 
     Page 2 of 2    
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025