i put it in splash and seems to work
dave
On 4/5/2019 1:55 PM, jjpurdum via
Groups.Io wrote:
toggle quoted message
Show quoted text
I just reread what you said. Did you put it in the splash()
code or setup()? It belongs at the top of setup().
Jack, W8TEE
On Friday, April 5, 2019, 4:48:12 PM EDT, k7da
<k7da@...> wrote:
i put the piece of code at the top of the splash
write code and works like a charm.
thanks for the help.
now to get the rest of the hardware working and
things will be grand.
dave k7da
On
4/5/2019 1:39 PM, jjpurdum via Groups.Io wrote:
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:
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
? }
}?? // THIS IS
THE CLOSING
BRACE FOR
setup()
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"
JackAlV095: In
function 'int
SetFilterCenterFrequency(int, int, int)':
JackAlV095:632: warning: variable 'delta' set but not used
?? int
coordinate,
delta,
increment,
target;
?????????????????? ^
C:\Users\dave\Desktop\jackal\JackaLSourceCode\JackAlV095\JackAlV095.ino:
At global
scope:
JackAlV095:1077: error: expected unqualified-id before 'for'
?for (int i =
0; i < 4;
i++) {
?^
JackAlV095:1077: error: 'i' does not name a type
?for (int i =
0; i < 4;
i++) {
???????????????? ^
JackAlV095:1077: error: 'i' does not name a type
?for (int i =
0; i < 4;
i++) {
??????????????????????? ^
Multiple
libraries were
found for
"SD.h"
?Used:
C:\Arduino1.8.8\hardware\teensy\avr\libraries\SD
?Not used:
C:\Arduino1.8.8\libraries\SD
Equalizer.cpp:
In function
'void
SetEqualizerBands()':
Equalizer.cpp:220: warning: 'position' may be used uninitialized in this
function
????
rxEqualizer[j]
= position;
????????????????????????????? ^
expected
unqualified-id
before 'for'
This report
would have
more
information
with
"Show verbose
output during
compilation"
option enabled
in File ->
Preferences.
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
|