Show Posts
Pages: 1 ... 283 284 [285] 286 287 ... 405
4261  Using Arduino / Programming Questions / Re: " 'String' does not name a type" in header file on: November 12, 2011, 04:29:01 pm
Thanks. It fixed my problem. What exactly does including wprogram do?

If you look at the actual files, WProgram.h includes WString.h, which defines String.
4262  Using Arduino / Programming Questions / Re: Still having problems , where do i add libraries on: November 12, 2011, 04:27:11 pm
The "Usb/Usb.h" seems off for a Windows system.  

Where did you download the library from?
4263  Using Arduino / Programming Questions / Re: How to run Arduino and C++ (for Windows) example on: November 12, 2011, 12:22:22 pm
[quote author=polgia0 link=topic=78732.msg594417#msg594417 date=1321085968]
does somebody may suggest a procedure to compile the tutorial example using : Code::Block + Mingw32 ?
What tutorial is this? 
4264  Using Arduino / Installation & Troubleshooting / Re: Running 4 arduino(clone) boards on one PC - possible??? on: November 12, 2011, 12:09:18 pm
I have four arduino clones that i need to run on one PC. only 1 works, the other 3 throw up sync errors to do with avrdude (whetever that is)
avrdude is the utility the IDE uses to program the Arduino.

Are all three boards the same variant?
4265  Using Arduino / Installation & Troubleshooting / Re: Arduino Nano 328 Heat if powered via VIN&GROUND on: November 12, 2011, 11:34:05 am
Is that normal? Am i making some mistake?
Do you have anything else connected to the Nano?
4266  Using Arduino / General Electronics / Re: Maximum voltage VIN-Pin on: November 12, 2011, 11:21:30 am
5.5V is too high to connect to the +5V pin since the ATmega chip probably has a maximum input voltage of 5.3V. 
No, the ATmega can safely tolerate 5.5V (absolute Max is 6V). 

The good news is that if you connect to the Vin line you will probably get 4.5V out of the regulator which will be enough to run at full speed
This doesn't seem like a good idea at all.  Depending on how much current is drawn, the regulator won't be stable.
4267  Using Arduino / Microcontrollers / Re: Offical Arduino WiFi Shield: When? on: November 11, 2011, 10:23:41 pm
There is one being worked on?
4268  Using Arduino / Installation & Troubleshooting / Re: ROMEO installation on: November 11, 2011, 07:20:49 pm
I don't understand what that thread has to do with anything.  YOU need to write out the steps YOU have taken to get the FTDI drivers installed. 
4269  Using Arduino / Programming Questions / Re: Still having problems , where do i add libraries on: November 11, 2011, 07:03:19 pm
In the IDE

Sketch -> Import library -> <library list>

Whatever libraries are listed there are in the correct directory.
4270  Using Arduino / Installation & Troubleshooting / Re: ROMEO installation on: November 11, 2011, 06:58:24 pm
What is a ROMEO?

My computer (MAC) does not allow for the drivers to be installed?
If you are unable to install drivers, that might be something you should solve first.

Just spent an hour going through forum, nothing works, absolutely infuriated, it's brand new.
What is "nothing"?  Without posting WHAT you have tried and the results, it is going to be difficult to give suggestions on what to try.
4271  Using Arduino / General Electronics / Re: Please help to find a fault that makes flashes flash when unwanted. on: November 11, 2011, 06:55:42 pm
Hello girls and boys! I recently bought a stufio flash controller with an arduino.
What is a stufio flash controller?
4272  Using Arduino / Programming Questions / Re: ASCII vs Text on: November 10, 2011, 12:29:06 am
[glow=yellow,2,300]String color;[/glow]

void loop()
    color = (;
String is an object.
string is a char string, which is an array.

Since you aren't catting the characters together, in this case, define color as a char.
4273  Using Arduino / Programming Questions / Re: Two newbie questions: status and printing a boolean on: November 10, 2011, 12:25:00 am
1) When I went to name a variable "status" the IDE flags it as a reserved word, but I can't find any reference to such a reserved word. What is "status" used for?
Could be a library that you have installed.  Could be a holdover from Wiring.  It is probably a method to a class, so using it as a variable probably doesn't matter.  The IDE isn't very sophisticated about highlighting.  All keywords are stored in a file called "keywords.txt".  Each library comes with its own keywords.txt file.

boolean state = false;

Then I tried to print it with Serial.println(state);  but nothing comes out of the serial monitor.
The reference page says Serial.print and println can take any variable type as an argument.  If you look at the source code, there is no definition for the boolean type.

When I have booleans, I find it kind of useless to just get a "true" or "false" response.  To get anything useful, you'd need to do a Serial.print() before printing the value anyway.  So instead I do this:

if (state)
4274  Using Arduino / Programming Questions / Re: help with sending keys by Ardunio PS2 KBD emulator on: November 10, 2011, 12:07:38 am
Must be the font your operating system, Java, or the IDE is using.  OS X shows a proper zero (with line through it) and the letter O as expected.

Edit:  Out of curiosity, I ran Arduino 0022 in Windows 7 to see.  You're right.  The font the IDE is using (which according to preferences is called Monospace, not sure if that is a name or just a style?) makes zeros and ones look like "ohs" and "els." 
4275  Using Arduino / General Electronics / Re: Dont understand the meaning of series circuit on: November 09, 2011, 10:43:49 pm
If my power source can only source 200ma and  i hook up 10 LEDs each operating at , just for argument sake , 100mA , then I will not light more then 2 right?

You're taking a very simple concept and adding a non-simple device (LED).  Which is probably part of your confusion.

When LEDs have enough voltage dropped across them (forward voltage), they turn into a short circuit.  So LEDs don't "take 100mA" or any current for that matter. 

Resistors are linear devices.  When a given voltage is dropped across them, a circuit amount of current will flow through them.  LEDs are not linear in this sense.

Instead, how much current flows in a circuit with a 100ohm, 200ohm, and 300ohm resistor in series?  How much current flows through each resistor... 
Pages: 1 ... 283 284 [285] 286 287 ... 405