Show Posts
Pages: 1 ... 3 4 [5] 6 7 ... 1893
61  Using Arduino / Project Guidance / Re: Multiple, independent delays on: August 22, 2014, 04:28:45 pm
Quote
Is this even possible?
Microsecond accuracy - tricky.
Post what you've got.

Anyway, it is possible and it's not complex. Check the example "blink withouth delay" and learn the use of millis().
sp. " learn the use of micros()."
62  Using Arduino / Project Guidance / Re: Loop frequency on: August 22, 2014, 04:07:56 pm
Code:
dealy(1000);
Really?
Quote
I tried analogWrite(pinUcom, 0) and analogWrite(pinUcom, 255); and I get the same signal
With a 0% and 100% duty-cycle you get. . . what, exactly?
63  Using Arduino / Programming Questions / Re: Tricky loop... help needed. on: August 22, 2014, 03:57:48 pm
Well, you could edit the first post in the thread's title.
64  Using Arduino / Programming Questions / Re: Bitmap to array->error altough no compilation error on: August 22, 2014, 03:56:45 pm
Quote
Even largest number for int16_t is to small for 0x9f98 =  40856.
uint16_t
65  Using Arduino / Project Guidance / Re: using arduino to trigger flash a unit? help. on: August 22, 2014, 01:26:19 pm
Sincere apologies- my dyscalculia (which curtailed a promising career as an actuary) strikes again - it's a MOC 3020
66  Using Arduino / Programming Questions / Re: What do you think? on: August 22, 2014, 11:53:31 am
Quote
What i should do ?
Cut back on your overuse of the word "crazy" and substitute more descriptive words.
67  Using Arduino / Programming Questions / Re: First program, help on: August 22, 2014, 11:47:51 am
I still don't see the point of writing the sum of three bytes like this - if the sum is zero, the result will be a LOW, otherwise it will be HIGH.
68  Using Arduino / LEDs and Multiplexing / Re: How to create a dice using external interrupt? on: August 22, 2014, 10:02:34 am
I truly do not understand your fixation with interrupts.

You've already been given a simple demonstration code of how to react to an interrupt; writing the code to pick a random number and display it is about three extra lines of code.
69  Using Arduino / Project Guidance / Re: Parsing a String on: August 22, 2014, 09:58:13 am
Quote
Any constructive suggestions would be appreciated
Ditch String - it's a waste of resources.
70  Using Arduino / Programming Questions / Re: First program, help on: August 22, 2014, 09:54:49 am
Code:
data = STX+llenar+CD+fin;
digitalWrite(data);
A digitalWrite requires a pin number and a single bit value.
71  Using Arduino / Project Guidance / Re: using arduino to trigger flash a unit? help. on: August 22, 2014, 09:53:41 am
Simply shorting the outputs of the coupler fires the flash, doesn't it?
72  Using Arduino / Sensors / Re: Ultrasonic sensor code confusion on: August 22, 2014, 09:51:20 am
Quote
From what I see it sends a pulse for 10 microSec and it measures the time that echoPin is in HIGH state. So why the result isn t always 10 microSec ?
I don't understand the logical process that got you to that conclusion.
The trigger pulse causes the sensor to transmit a burst of ultrasound, and at the same time it raise the echo pin.
When the sensor receives an echo of its transmitted burst, it lowers the echo pin.
73  Using Arduino / Programming Questions / MOVED: Ajuda codigos on: August 22, 2014, 09:22:17 am
This topic has been moved to Portugues.

http://forum.arduino.cc/index.php?topic=262450.0
74  Using Arduino / Programming Questions / Re: Counting from 0 to 15 binary by using an interruption on: August 22, 2014, 08:39:54 am
So, now you're outputting to uninitialised pins.
Uncomment the for loop in setup.
75  Using Arduino / Programming Questions / Re: Counting from 0 to 15 binary by using an interruption on: August 22, 2014, 08:19:32 am
Quote
write code (in processing)
So, why are you asking questions about Wiring, and not Processing?
Pages: 1 ... 3 4 [5] 6 7 ... 1893