¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Re: display


 

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





Join [email protected] to automatically receive all group messages.