Replies: 2 comments
-
Use the widget library, this allows multiple meters and to put them in different positions. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks for your help. I'll look into using Widgets.
…On Tue, Nov 7, 2023, 2:48 AM Bodmer ***@***.***> wrote:
Use the widget library, this allows multiple meters and to put them in
different positions.
https://github.com/Bodmer/TFT_eWidget
—
Reply to this email directly, view it on GitHub
<#2959 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANQKDMDMR5A36LTYMBKI7ADYDIGWJAVCNFSM6AAAAAA7AO6PFWVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TIOJXGQ4TO>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to be able to reposition the meter to something other than 0,0. I'm using a 320x480 TFT.
I've tried adding an offset for both x and y in all the TFT drawing calls but I can't seem to get the needle
to track properly. The needle overwrites the scale either left or right side depending on what I do.
Here is the example of how I implemented the repositioning offset.
moX for x offset
moY for Y offset
TFT_Meter_linear.zip
Beta Was this translation helpful? Give feedback.
All reactions