Show Posts
Pages: [1]
1  Forum 2005-2010 (read only) / Syntax & Programs / Re: avoid "void loop()" on: December 26, 2010, 05:26:36 pm
ah ok  ;D
thanks a lot
2  Forum 2005-2010 (read only) / Syntax & Programs / Re: avoid "void loop()" on: December 26, 2010, 05:17:28 pm
ok,I see
what should I do if I want to run the program only once (no loop)?
I don't want to use an endless loop
3  Forum 2005-2010 (read only) / Syntax & Programs / avoid "void loop()" on: December 26, 2010, 04:53:08 pm
hi,i'm new with Arduino
I saw some examples,all of them use the function : "loop"
am I forced to do it?
isn't there somthing like "main()" function (without any loop) ?
thanks in advance
4  Forum 2005-2010 (read only) / Interfacing / Re: ".hex" & ".asm" filesn' on: December 26, 2010, 03:14:19 am
ok,thank you smiley
5  Forum 2005-2010 (read only) / Interfacing / ".hex" & ".asm" filesn' on: December 25, 2010, 04:07:43 pm
hi
I want to simulate my program(with ISIS),after compiling ,I didn't know where to find the ".hex" file? there's only a ".pde" file
thanks
6  Forum 2005-2010 (read only) / Interfacing / Re: Timer with Arduino UNO on: December 27, 2010, 01:29:16 am
"The usual way to count pulses is to use an interrupt"
I don't think I could use Interrupts ,there's actually 2 encoders.
 :-X
What do you suggest ? isn't there anyway that the pulses from both encoders will be counted INDEPENDENTLY ? :'(
you sad that API uses timers for its routines, doen't these routines put back the concerned registers the way they were before ? :o
7  Forum 2005-2010 (read only) / Interfacing / Timer with Arduino UNO on: December 26, 2010, 05:40:28 pm
hi,I 'm new with AVRs & Arduino
I want to use the timer to count risning edges from an encoder (2 actually)
I looked for it in the datasheet,and I got lost  ;D
can anyone summarize timer features for me? (not all of them of course  smiley-wink)
and wich pins are used for it? (arduino Uno)
thanks in advance
Pages: [1]