Go Down

Topic: TFT Extension Version 2 (Read 1 time) previous topic - next topic

dizzwold

Hi HazardsMind,

 What is this thing on the stick.

 LOL.

 Dizzwold.
I'm not a student or a lecturer. I'm a hobbyist.

PaulS

Quote
What is this thing on the stick.
It's a corn-dog. A hot dog dipped in a cornmeal batter and deep-fried. Very tasty with hot mustard.

CrossRoads

They're a staple at county fairs.
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

dizzwold

Ah, Ok.

 Looks good, sounds good, but may-not-be from a health point.

 Would i be corrrect to have a Simpsons moment and say;

 "Hmm CornDog"?

Dizzwold.
I'm not a student or a lecturer. I'm a hobbyist.

Jeppo17

Hello Everybody, and first of all many thx to HazardsMind for his work.

I'm new from the Forum.

I've downloaded and work some days with the TFT_ExtensionV2 and I've a question about the slider.

How is possible to change the color of text that plot "SlideV.Touch"?
I.e. I've a button (ON/OFF) and a Slider.
When the button is "OFF" the text background is "red". When the button turn "ON" the background go "red".

Many thanks

HazardsMind

Thats a bug, I will be posting an update next week that fixes it as well as added in new features to all of the buttons.
My GitHub:
https://github.com/AndrewMascolo?tab=repositories

Jeppo17

Many many thx for the prompt reply  ;) 

HazardsMind

#22
Aug 14, 2015, 02:18 am Last Edit: Aug 14, 2015, 02:32 am by HazardsMind
UPDATE.

ProgressBar is currently only vertical.

I'll even throw in my TFT_Extras library. (Still adding to it)
My GitHub:
https://github.com/AndrewMascolo?tab=repositories

HazardsMind

#23
Aug 14, 2015, 04:49 pm Last Edit: Aug 14, 2015, 06:10 pm by HazardsMind
For those of you getting errors with the Text lines, I reversed the order, so now it is Text, Color, Size, instead of Color, Size, Text.

Text("ON", "OFF", 0xF800, Big); 
It just makes more sense to have it this way.
My GitHub:
https://github.com/AndrewMascolo?tab=repositories

HazardsMind

Update (but not releasing the library yet)

ProgressBar from this just past library was changed to Meter as it resembles more of a meter bar than the usual progress bar. However there still is a class called ProgressBar that has the look and feel of a loading screen bar. Also instead of just a line or bar going across the screen, I made it so that text can be displayed. (it's different)

Another change is, now buttons have an "Auto" size. You set the X and Y coords and instead of putting in the other X and Y coords for the lower part of the box (or radius if you are making a circle), you can now use AUTO and it will size the object based on longest text size. 

Ex. if you have a circle with the text "ON" and "OFF" it will see which of the two has more characters and it will set the radius based on the number of characters in the text and font size. 

I have yet to write in the better keyboard, but I will get to it when I can. 
My GitHub:
https://github.com/AndrewMascolo?tab=repositories

Jeppo17

UPDATE.

ProgressBar is currently only vertical.

I'll even throw in my TFT_Extras library. (Still adding to it)
Hello Hazard

thx for the update.

Could be that in this new version also a state of the button is changed?
In the past versione I've use "button.latch" but now I've find a difference on the code and changing with "button.toggle" on the sketch all is working.

Let me know if is ok or a temporary bug
giuseppe

HazardsMind

I changed it from latch to toggle. 
My GitHub:
https://github.com/AndrewMascolo?tab=repositories

HazardsMind

#27
Aug 30, 2015, 10:15 am Last Edit: Aug 30, 2015, 10:15 am by HazardsMind
Shhh... its 4:14 AM.

New Update, Version 2.6.

Quote
// Version 2.6
// fixed the background text in all the buttons. (only shaves off a few microseconds)
// Fixed the keyboard to now allow colors and fill.
// Fixed the triangle class
// All buttons can now auto size themselves with the argument "AUTO" in place of the X2,Y2 coordinates or Radius.
// ** AUTO sizes the button based on the text with the most characters **
// took out sprintf from Meter class (reduced memory usage by 7,242 bytes!)
Now to work on my TFT_Extras libraries.

Enjoy and I guess good very early morning... yeah, lets go with that. :smiley-sleep:
My GitHub:
https://github.com/AndrewMascolo?tab=repositories

Go Up