Loading...
  Show Posts
Pages: 1 2 3 [4] 5 6 ... 94
46  Using Arduino / Programming Questions / Re: Printer on: May 16, 2013, 01:23:14 am
What baud rate is the printer set to ?
47  Using Arduino / Programming Questions / Re: Printer on: May 15, 2013, 04:23:06 pm
Apart from any other problems that you may have I didn't bother to look beyond the fact that the code you posted has two setup() and loop() functions in it so I assume that it is not actually the code that you are using.
48  Using Arduino / Programming Questions / Re: Simple example for Encoder interrupt counting on: May 15, 2013, 08:32:47 am
If there are no interrupts then the value of enc0 should not be changing.  How is the connection to the interrupt pin wired ?  It is not, perhaps floating and not tied to either 5V or ground, is it ?
49  Using Arduino / Programming Questions / Re: Servo and robot arm question on: May 15, 2013, 08:27:01 am
Quote
is it possible to make a robot arm that runs on an UNO and that can be programmed
Yes

Quote
to do what I want in one go?
That depends on what you want to do.

PLEASE give us some clues ?
50  Using Arduino / Programming Questions / Re: Error with ATtiny85 and servo on: May 15, 2013, 06:47:48 am
It would seem that those registers do not exist on the ATtiny85
http://forum.arduino.cc/index.php?topic=90303.0

I presume that they are used by the Servo library.
51  Using Arduino / Programming Questions / Re: PROGMEM Demo on Arduino.cc Will not Compile? on: May 15, 2013, 03:24:52 am
It compiles for me using IDE 1.0.4
I copied it from the link you gave.  It is 58 lines long including the block comments at the top.  Are you sure that you copied all of it ?

I assume that you do have the pgmspace.h file.  Which version of the IDE are you using ?
52  Using Arduino / Programming Questions / Re: Problem Serial.available() = 0, ( SOLVED ) on: May 14, 2013, 12:05:41 pm
That does not make any sense. 
What you have done is to tell the Serial monitor to append a Carriage Return to the text sent to the Arduino, but the code that you posted does not rely on the CR being present.
53  Using Arduino / Programming Questions / Re: Temporarily halting a sensor? (help) on: May 14, 2013, 09:26:36 am
Don't worry, I didn't think for a moment that you were taking out on me.  I am sorry if my reply came over as sarcastic.  I certainly didn't mean it to.
54  International / Français / Re: Probleme de programmation de 2 moteurs pas a pas on: May 14, 2013, 06:29:44 am
The code after you loop() function is not in a function
Code:
} // fin de la fonction loop() - le programme recommence au début de la fonction loop sans fin

for (int i=1; i<=NombrePasVertical; i++)
{ // incrémentation du pas du moteur vertical
  moteurVertical.step(1); // un pas dans le sens horaire
}
55  Using Arduino / Programming Questions / Re: Temporarily halting a sensor? (help) on: May 14, 2013, 06:19:25 am
Thanks for your efforts struggling against the problems with the forum.  I will create some test code of both types and test it.
56  Using Arduino / Programming Questions / Re: Boolean not toggling on: May 14, 2013, 01:50:05 am
You are not using interrupts in the code you posted.  What do the sweep() and cw() functions do ?  I would bet that they use the delay() function.  Am I correct ?  Please post the whole program.
57  Using Arduino / Programming Questions / Re: Will analogread(6) be able to control ADC6? on: May 14, 2013, 01:43:00 am
Search this forum for references to those 2 ports and you will find that other people have tried to access the ports with varying degrees of success.
58  Using Arduino / Programming Questions / Re: code differences on: May 14, 2013, 01:38:39 am
The principle will work for as many servos as the receiving device can support but whichever method you use bear in mind that the calls to the function will happen in a sequence and not all at the same time.  It is up to the receiving device to interpret and act on the commands appropriately. 
59  Using Arduino / Programming Questions / Re: Boolean not toggling on: May 14, 2013, 01:17:22 am
You need an extra = in your test for the value of mode.
60  Using Arduino / Programming Questions / Re: Problem Serial.available() = 0 on: May 14, 2013, 01:12:37 am
What baud rate is the Serial monitor set to ?
Pages: 1 2 3 [4] 5 6 ... 94