Show Posts
Pages: [1] 2 3
1  Using Arduino / Displays / Re: Project 003 Seven segments flip dot display on: November 24, 2012, 02:40:18 pm
Some videos with the same harware but fitted on a 7 dot strip

http://www.gueniffey.com/alphazeta01.AVI
http://www.gueniffey.com/alphazeta02.AVI
http://www.gueniffey.com/alphazeta03.AVI
2  Using Arduino / Programming Questions / Re: Millis not accurate on: November 04, 2012, 04:18:15 am
It seems I'm not the only one to learn things with this topic  smiley-roll
3  Using Arduino / Programming Questions / Re: Millis not accurate on: November 03, 2012, 03:57:38 pm
Many thank's !!
4  Using Arduino / Programming Questions / Re: Millis not accurate on: November 03, 2012, 03:49:19 pm
OK great ! So it will be more simple.

5  Using Arduino / Programming Questions / Re: Millis not accurate on: November 03, 2012, 03:32:33 pm
I never bet  smiley-lol

I want  one pulse every minute so 60000 milliseconds
let say; last millis() was 4294900000, new is 4294960000  so new - last = 60000 so one pulse
now last is 4294960000, as max millis() is 4294967295, after this millis() will restart from 0 and my code is waiting for new - last >= 60000 , it will occurs when millis will be at 60000, so there are 7295 ticks lost ?

6  Using Arduino / Programming Questions / Re: Millis not accurate on: November 03, 2012, 03:15:01 pm
DC42:
First of all, many thank's for the replies.

DC42:
Last time I checked, there were 3600 +/- 1 seconds in an hour, and unless maths has changed since I was at school, 0.5% of 3600 is still 18.  smiley-lol smiley-lol

I agree, I learnt the same maths than you  smiley-lol. But I just find actually about 1second more or less per hour on my Arduino, may be I'm lucky with the resonator.

PaulS :

Thank's I didn't new about constant, I will modify this.

Goforsmoke:

"Roll over is not a  problem" : but when the mills() will rollover (50 days later), the substraction will not work correctly I think ?

7  Using Arduino / Programming Questions / Re: Millis not accurate on: November 03, 2012, 10:49:39 am
Isyourspacekeyborken?  smiley-lol

Do you honestly believe that 4294967295 is going to fit in an int? yes because it's a long unsigned

DC42 : 18 seconds per hours, are you sure ?
8  Community / Bar Sport / Re: Does "arduino" means something? on: November 02, 2012, 12:30:03 pm
crossroads : many thank's!
9  Community / Bar Sport / Re: Does "arduino" means something? on: November 02, 2012, 09:45:07 am
I have found this : arduino is an italian first name. But why have they choosen this first name.....?
10  Using Arduino / Programming Questions / Re: Millis not accurate on: November 02, 2012, 06:04:21 am
I like very much your great sense of humor AWOL and Nick  smiley-lol

I know how to debounce the button (yes, I know, I swear), but 500ms wasn't idiot (from my point of view), the aim of this button is to give one 500ms pulse with at least 500ms off after this pulse, if you stay push, with my wonderful code, it just send pulses 500ms ON, 500ms0FF, with no other code and if you want to push this button more often, it does nothing.


You know I'm 53 so, I'm a bit lazy and I don't remember well my programming lessons.....with 8085 or 6800 processors.... smiley-red
But I know I have learned this before.


11  Using Arduino / Programming Questions / Re: Millis not accurate on: November 02, 2012, 05:08:31 am
OK, I will do this, but I will have to debounce the button  smiley-lol
12  Using Arduino / Programming Questions / Re: Millis not accurate on: November 02, 2012, 05:01:46 am
So I haven't to debounce the input for the button. smiley-red
Anyway even without "Delay" the code will take some time so...
13  Using Arduino / Programming Questions / Re: Millis not accurate on: November 02, 2012, 04:52:51 am
Thank's,
I just have removed 50ms from the delay and now it seems a bit better, I will try  some hours and adjust.
14  Community / Bar Sport / Re: Does "arduino" means something? on: November 02, 2012, 04:47:15 am
 smiley-grin smiley-grin smiley-grin smiley-grin smiley-grin
15  Using Arduino / Programming Questions / Re: Millis not accurate on: November 02, 2012, 04:41:49 am
No of course, I was thinking the time for the code was very short, about some micros seconds, so I'm sure to not be really accurate, but I'm a bit disapointed by the gap wich is really big. It seems the time for the loop and so on is about milliseconds...
Is there a way to know the time for each instrcution, so I will be able to modifiy the count.
Pages: [1] 2 3