Keyboard Shortcuts
Likes
Search
Re: display
Set the rotation command at the very top of the setup() function instead of towards the bottom and see what happens. Jack, W8TEE
On Friday, April 5, 2019, 4:28:12 PM EDT, k7da <k7da@...> wrote:
jack where would i have to put that piece of code to get the designers splash screen to come up right side up? dave On 4/5/2019 12:02 PM, jjpurdum via
Groups.Io wrote:
One of the values in the loop I had you add placed the
display in the orientation you wanted. Take whatever that
value is and
?? tft.setRotation( (uint8_t) i);
? place it where i is above. Erase all of the code I
had you add, except the line above with the number instead
of i. Save the file. Now recompile and upload the code and
you're done. It should be a permanent part of the code.
Jack, W8TEE
On Friday, April 5, 2019, 2:55:38 PM EDT, k7da
<k7da@...> wrote:
now that there is a way to rotate the image on the
display what must i do to make this a permanent
thing?? i am not a hacker so do not know what to do
with this information. dave? k7da
On
4/4/2019 8:09 PM, jjpurdum via Groups.Io wrote:
Are you saying to see the main display page that
looks like this:
Jack, W8TEE
On Thursday, April 4, 2019, 6:51:30 PM EDT,
k7da <k7da@...>
wrote:
it did compile and and it id upload? the
code works and now how do i use that info to
effect the display permanently? and i assume
remove the provided code.? i did not have
the serial link hooked up but it looks like
value 3 is the one i want. dave k7da
On
4/1/2019 7:30 PM, jjpurdum via Groups.Io
wrote:
If it compiled and uploaded and ran,
that's what's important. What happened on
screen? Did it say Upload Complete?
Jack, W8TEE
On Monday, April 1, 2019, 10:08:59
PM EDT, k7da <k7da@...>
wrote:
?it complies now but there are some warnings that i can figure out how to copy. dave k7da
On
4/1/2019 6:38 PM, jjpurdum via
Groups.Io wrote:
I said go INTO the
setup() function and
place the code. You didn't.
It should be:
void setup() {
// a bunch of
statements....
// At the very
bottom of setup, BUT INSIDE IT
? for (int i = 0; i < 4;
i++) {
?? tft.setRotation( (uint8_t) i);
?? tft.setCursor(10, 10);
?? tft.print("New rotation
value of ");
?? tft.print(i);
?? delay(5000);??????
// You have 5 seconds to
view the message
? }
Jack, W8TEE
On Monday, April 1, 2019,
7:24:21 PM EDT, k7da <k7da@...>
wrote:
i got an error as follows
Arduino: 1.8.8 (Windows
10), TD: 1.45, Board:
"Teensy 3.6, Serial, 180
MHz, Faster, US English"
dave k7da
On
4/1/2019 5:58 AM,
jjpurdum via Groups.Io
wrote:
I assume that you
have a graphics object
named tft. Go
into the
setup() function and
add this code at the
bottom:
for (int
i = 0; i < 4;
i++) {
??
tft.setRotation( (uint8_t) i);
??
tft.setCursor(10,
10);
??
tft.print("New
rotation value of
");
??
tft.print(i);
??
delay(5000);??????
// You have 5
seconds to view the
message
}
and see if any of
the rotation values
works for what you
need.
Jack, W8TEE
On Sunday, March
31, 2019, 11:26:30
PM EDT, k7da <k7da@...>
wrote:
i mounted the display upside down and turning it over makes it not fit the hole. so i need to turn the picture upside down. is that possible in sofeward or alectrically? dave k7da
On
3/31/2019 7:57
PM, jjpurdum
via Groups.Io
wrote:
What do
you mean
"turned over"?
There's a
Landscape and
Portrait mode
Jack,
W8TEE
On
Sunday, March
31, 2019,
10:29:40 PM
EDT, k7da <k7da@...>
wrote:
can
the display be
turned over in
software?
dave
k7da
|