Show Posts
Pages: 1 ... 71 72 [73] 74 75 ... 196
1081  Using Arduino / Displays / Re: SOLVED-BIG 7 inch TFT Looks great- 1 issue. on: August 23, 2013, 06:46:03 pm
You should be using the preferred shield as suggested here ebay 7" adapter shield
1082  Using Arduino / Displays / Re: SOLVED-BIG 7 inch TFT Looks great- 1 issue. on: August 23, 2013, 05:49:58 pm
Nobody here can see your code to even know if you have it set up correctly. What model is your screen, it might not even be supported by the UTFT library.
And please don't put a link on someone else's post to this one, there is really no need for it. If you add a comment, it will bring the post to the top of the list and people will look at it. With any luck, they may just have an answer.
1083  Using Arduino / Displays / Re: UTFT.h wont compile on: August 23, 2013, 05:45:25 pm
Do you know if your using a ARM or AVR setup? Better yet, post your full code in the proper code tags, # above the smiley faces.
1084  Using Arduino / Project Guidance / Re: Design lego car via arduino controller on: August 22, 2013, 01:10:18 pm
An Arduino of your choice, a motor shield (keep in mind how many motors you will be running), and some way to send and receive commands.

An UNO is what everyone starts with, but depending on how many motors you will be controlling, and whether or not you need to control speed, you may need a mega. However, if you a good motor shield, then a UNO can control up to 6 motors with speed control.
1085  Using Arduino / Programming Questions / Re: Non Logical syntax error ? on: August 20, 2013, 07:48:40 pm
What does
return? Is it void, Boolean, int, float ???
1086  Using Arduino / Project Guidance / Re: SPST Switch Help. Thank you! Arduino UNO on: August 19, 2013, 10:12:21 pm
Well if your certain its not a floating issue, then it could be a bouncing issue. The switch may need to be debounced then you check the states.
1087  Using Arduino / Project Guidance / Re: SPST Switch Help. Thank you! Arduino UNO on: August 19, 2013, 08:51:05 pm
Look at the solution I gave this guy, for he too had the same issue.
1088  Using Arduino / Displays / Re: clear adafruit tft screen. on: August 19, 2013, 12:21:46 pm
Question, what resets i back to zero?
1089  Using Arduino / Displays / Re: clear adafruit tft screen. on: August 19, 2013, 01:09:24 am
Why not just fill the screen with your background color, it will write over anything that's on the screen. If you have a fillScr() function, then use it, if not then make one with a simple for loop.
1090  Using Arduino / Programming Questions / Re: "Serial.println" after pushing a button on: August 18, 2013, 08:39:29 pm
Ok so you just want to send it out once per press? Ok we'll you had the right idea using a check last state method, you just had the wrong setup.

boolean button;

button = digitalRead(buttonpin);

if(button == HIGH && button != last_state)
  //Print message
last_state = button;
1091  Using Arduino / Project Guidance / Re: Password based security system on: August 17, 2013, 01:08:01 pm
I'm not sue if the password library can handle multiple passwords, maybe it can, I don't know. I myself was able to make a sketch that is able to use multiple passwords, but I am out of town right now, otherwise I would show you. It might be here on the forum if you search my name and look for anything resulting in passwords.
1092  Using Arduino / Displays / Re: LCD touch : increase or decrease as per touch on: August 17, 2013, 11:24:16 am
The function I gave you will output individual values. This works because you are using different button coordinates, and make sure the buttons don't overlap each other. That's also the same function I made for my library, and it works great. Of course I did add a way to flip the touch values with a swap function that differentiates whether its set for portrait or landscape.
1093  Using Arduino / Displays / Re: UTFT, rotate the screen 180 degrees ? on: August 16, 2013, 09:50:18 pm
Well being that everything other than characters can be seen upside-down, the print function provided in the UTFT library allows you to rotate the word(s).

print(String st, int x, int y, int deg) //0 - 359 degrees
Now the only thing I can see that you might have trouble with is the X and Y coordinates, and if so, you just need to subtract the correct screen values.

newX = (239 - X) , newY = (319 - Y)

newX = (319 - X) , newY = (239 - Y)

And if you knew how to make/modify the library in C++, you can make inverting the screen into a new function.
"void UTFT::InitLCD(byte orientation, byte invert)" //if invert = true, screen gets inverted 180 degrees, else screen is regular orientation
1094  Community / Exhibition / Gallery / Re: did I do well? on: August 14, 2013, 07:36:18 pm
I can get my arduino to speak, with aid from the tone library and also with a MP3 module. I can do it via Bluetooth, wifi, RF, and IR.
1095  Using Arduino / Programming Questions / Re: Problem using the VirtualWire- and LiquidCrystal libraries together on: August 13, 2013, 05:37:12 pm
You need to put your code in the proper code tags, its the # above the smiley faces.

The reason it works now is because the virtual wire library takes over pins 10 and 11, so if your using the VW library, you wont be able to use those pins.
Pages: 1 ... 71 72 [73] 74 75 ... 196