Show Posts
Pages: 1 ... 56 57 [58] 59 60 ... 232
856  Using Arduino / Programming Questions / Re: compile error with LiquidCrystal_I2C on: February 19, 2014, 09:57:51 pm
Could you provide a link to your exact Lcd?
857  Development / Other Software Development / Re: New TFT Extension Library on: February 19, 2014, 10:42:38 am
Quote
Can you guarantee that your users will do that?
No, not at all. But if (Big if)  they do everything else fine, then the worst they will get is this:
Quote
CirclePad:14: error: redefinition of 'TFT_Extension<ITDB02, ITDB02_Touch> myTFT'
CirclePad:13: error: 'TFT_Extension<ITDB02, ITDB02_Touch> myTFT' previously declared here
However it would help greatly if the Arduino software had visible line numbers on the side.



Quote
Quote
What would be the better way? Make a .cpp file?
Exactly.

By making a cpp file, I would need to include the UTFT and UTouch libraries, as well as the older ITDB02 libraries, right? What about if someone doesn't have the older libraries, the compiler will want to know where they are.

I'll figure it out.
858  Development / Other Software Development / Re: New TFT Extension Library on: February 19, 2014, 09:46:30 am
Ok, I changed DIR = dir * 0.01745 + 1.57; to  DIR = dir * RAD_TO_DEG + HALF_PI;
Better yet:
Quote
double DIR = dir * RAD_TO_DEG;
  Cx = x1 + sin(DIR + deg * RAD_TO_DEG + PI) * rad;
.
.
.

Whats is wrong with the implementation? It seems to work just fine.

What would be the better way? Make a .cpp file?
859  Using Arduino / Project Guidance / Re: Security System on: February 18, 2014, 07:17:59 pm
Its very simple actually, but I do not see anything that has to do with a keypad or a Lcd. If you "Search the Arduino Forum" for keypad password and LCD, you'll most likely find tons of information and examples.

We see these questions all the time, "I need help making a password" or "I want to enter a password with a keypad..."

Try doing a search first.
860  Using Arduino / Project Guidance / Re: Security System on: February 18, 2014, 06:16:49 pm
I stop reading when I got to
Quote
#define TRIGGER_PIN  6  // Arduino pin tied to trigger pin on the ultrasonic sensor.
#define ECHO_PIN     7  // Arduino pin tied to echo pin on the ultrasonic sensor.

You said you have a 3 pin US range finder, yet the library your using needs the 4 pin US range finder. You need to change one of the two, either the code or the ping sensor.
861  Using Arduino / Project Guidance / Re: Arduino accelerometer bluetooth issues, please help!!! on: February 15, 2014, 11:18:20 pm
You should use Putty or Realterm instead of the serial monitor, and make sure the bluetooth module is wired properly. Tx to Rx and Rx to Tx.
862  Using Arduino / Project Guidance / Re: Arduino accelerometer bluetooth issues, please help!!! on: February 15, 2014, 09:58:56 pm
Could you provided the code your using?
863  Using Arduino / Programming Questions / Re: Running Graph display on TFT LCD on: February 15, 2014, 09:31:24 pm
You can use one of these TFT Lcds, LINK. It uses the UTFT and UTouch libraries, and it also has another library Ubuttons.

The UTFT library has a demo that shows a moving graph, that you can use your make you graph. It will require you to do some writing, because there is no Make_Graph_With_These_Values function.

I too have the Lcd.
864  Using Arduino / Project Guidance / Re: Arduino Motors not working on: February 15, 2014, 12:35:55 am
Pin 13 is connected to a resistor and Led so it may be giving you problems, however I don't see a pinMode for pin 3, and that could be the actual issue.
865  Using Arduino / Programming Questions / Re: Expected primary-expression before '||' token on: February 15, 2014, 12:30:34 am
Your missing parentheses in your IF statement. Right now, the IF statement is only seeing the first part, the stuff before the ||.

if( (condition1) || (condition2) ) // expected
if( condition1 ) || ( condition2 ) // what you have
866  Using Arduino / Project Guidance / Re: I am soooo lost!!!!!!!!! on: February 14, 2014, 11:11:48 pm
I just downloaded the TimerOne library then tried your code and it compiles fine.

Quote
I followed exacily what the book said for the sketch and got this ' Timer1' not declared in the sketch
Where exactly is the library, post the exact address. If you don't know how to get the address, find the TimerOne folder, highlight and right click to properties, the address is there. I am unfamiliar with MAC computers, so your on your own there.

Also, you don't need to have "TimerOne Timer1" as Robin2 suggested, because it is already declared in the library.
867  Using Arduino / Project Guidance / Re: I am soooo lost!!!!!!!!! on: February 14, 2014, 04:08:58 pm
Did you download the library and put it in the correct spot? It should be in your Mydocuments/Arduino/libraries folder, if it is not then you will get errors.
868  Development / Other Software Development / New TFT Extension Library on: February 14, 2014, 03:05:57 pm
Please updated library in last REPLY.

I originally made this library for my own uses, but I feel it should be shared. It works with Henning Karlsen's UTFT and UTouch libraries and it also works with his older ITDB02 libraries. "ITDB02_Graph16 and ITDB02_Touch"

PLEASE NOTE, I am still adding functions to this library (95% Done), mostly colors and functions that allow the user to choose there colors for certain functions like the drawTriangle function.

Right now I only have a 3.2 TFT Lcd that uses the older ITDB02 libraries, so all the examples will be set for those libraries, however, it does compile with the UTFT and UTouch examples.

869  Using Arduino / Project Guidance / Re: Auto Level Off-Road buggy , First Arduino project on: February 14, 2014, 09:43:45 am
Other than your solenoids and maybe relays, do you have a bread board?
870  Using Arduino / Project Guidance / Re: Auto Level Off-Road buggy , First Arduino project on: February 13, 2014, 04:58:37 pm
An accelerometer measures G force, so by shaking it in any direction will produce a reading. Three axis accelerometers can also be used as leveling devices but any sudden movement will increase or damper the reading at that particular angle.

Gyros on the other hand only change when tilted, so as long as the angle is fixed, bouncing will not effect it.

I don't own a gyro but I do have a 3 axis accelerometer. However the most common one I have seen is a MCU-6050 3 axis accel + gyro.
Pages: 1 ... 56 57 [58] 59 60 ... 232