Show Posts
Pages: 1 ... 27 28 [29] 30 31 ... 99
421  Using Arduino / General Electronics / Re: FTDI(USB) 5V and VCC 5 V and Pro-Mini on: March 13, 2014, 09:34:39 am
Thanks for the advice, Crossroads.
422  Using Arduino / Programming Questions / Re: Can't find the bug(s?) on: March 10, 2014, 09:46:03 am
I guess it would compile.

A[0,1,2,3,4]

is not a syntax error, just an unwise use of the comma operator.
423  Using Arduino / General Electronics / Re: FTDI(USB) 5V and VCC 5 V and Pro-Mini on: March 10, 2014, 09:43:20 am
Just for the record, yes it did.
424  Using Arduino / Programming Questions / Re: Can't find the bug(s?) on: March 07, 2014, 05:35:10 pm
This can't even compile. If it doesn't compile, it does not have bugs, it has syntax errors. What the heck is that array argument to pinMode()?
425  Using Arduino / Programming Questions / Re: Why do I need a "USB to Serial Adapter" or USB to Serial Converter" on: March 07, 2014, 12:30:19 pm
Which Arduino do you have? The ones with USB ports built in, already have a USb to serial converter (or equiv) built in. Others, for example the Pro Micro, do not and you have to supply one since PC's no longer have serial ports.
426  Using Arduino / Programming Questions / Re: discuss: sram - where do you hit "the wall"? on: March 06, 2014, 05:32:59 pm
No, it pretty much is a "wall", once the stack hits the heap it is game over, man. Your program may not crash right away, but *something* got corrupted.
427  Using Arduino / General Electronics / Re: How to use arduino to continuously control voltage/current? on: March 06, 2014, 02:20:38 pm
You can control voltage, or you can control current, but you cannot control both at the same time.
428  Using Arduino / Programming Questions / Re: Linked list tree and dynamic pointers. on: March 05, 2014, 12:15:51 pm
By "writing to Random Locations in RAM" I meant that you would figure out the RAM address space, and manually set pointers there. For example, say that the SRAM goes from 0x1000 to 0x2000. If you do this: int *ip = (int *)0x1111 you are setting your own pointer to some random spot in RAM ignoring any designs the compiler has for this memory location. It was really a far fetched thing to do *on purpose*, though it is easy enough to do by accident.
429  Using Arduino / Programming Questions / Re: RTC Timer events on: March 05, 2014, 12:05:55 pm
if ((minutes % 10) == 0) // will fire at 10, 20, 30...

And it is *modulo* not *modular* arithmetic.
430  Using Arduino / Programming Questions / Re: Simulate Capacitor charge-discharge cycle, without any external Capacitor on: March 05, 2014, 11:56:36 am
Show all the code. C is used before it is defined/declared.
431  Using Arduino / Programming Questions / Re: Certain integers not working on: March 05, 2014, 09:46:29 am
Since time was declared global, every time you access it with "int time" you are creating a new variable. Drop all the extra "int" declarations.

Instead of
int time = 0; // except the first time in the global section

use

time = 0;
432  Using Arduino / General Electronics / Re: FTDI(USB) 5V and VCC 5 V and Pro-Mini on: March 05, 2014, 09:43:19 am
The FTDI will be powered by USB, I will just break the connection to the Vcc pin on the "BLK/GRN" connector to the mini.
433  Using Arduino / Project Guidance / Re: Can I use the arduino uno to control video? on: March 04, 2014, 07:30:39 pm
It is probably a 19 KHz modulated IR. Search this site for "Arduino IR remote", It should be doable.
434  Using Arduino / General Electronics / Re: Arduino to PLC w/ discrete I/O communication on: March 04, 2014, 07:07:57 pm
It appears that you have the Arduino connected to the Collector ("C"), it should go to the Base.
435  Using Arduino / Project Guidance / Re: Can I use the arduino uno to control video? on: March 04, 2014, 07:03:39 pm
Does the Arduino have line of site to the monitor? Is there an IR remote that can cause the video to play?
Pages: 1 ... 27 28 [29] 30 31 ... 99