[CART360] C programming with Arduino?
Vincent Leclerc
v at eskistudio.com
Wed Oct 24 19:18:51 EDT 2007
You can also use this line that tells the arduino to stop for ~125 nanoSeconds:
asm volatile("nop");
For more information on that read:
http://en.wikipedia.org/wiki/Nop
Vincent
On 10/24/07, info at laurierrochon.com <info at laurierrochon.com> wrote:
>
> also this made me think of a problem me and marc ran into this week...if
> you're using the
>
> something HIGH
> delay(sometime)
> something LOW
> delay(sometime)
>
> mabye try using "delayMicroseconds" which is supported by the arduino client
> and goes 1000x faster than the delay function for refreshing things.
>
> -------- Original Message --------
> Subject: [SPAM] Re: [CART360] C programming with Arduino?
> From: "Phil Savard" <phil.savard at gmail.com>
> Date: Wed, October 24, 2007 3:06 pm
> To: Didier <didibus at gmail.com>
> Cc: cart360 at uttermatter.com
>
> check this out... hope it helps :)
> http://todbot.com/blog/2006/12/06/arduino-serial-c-code-to-talk-to-arduino/
>
>
>
> 2007/10/24, Didier <didibus at gmail.com>:
> > As you may know, me and Karim are trying to build a LED matrix that acts
> like a screen. One problem we stumbled upon is that when refreshing every
> LEDs, the refresh is to slow to fool the eyes and we see blinking occurring.
> So I was thinking about ways of optimizing the code to have it run faster,
> and I was wondering wouldn't programming it directly in C code boost it's
> performance? I also just can't gt information on how to program in C instead
> of the Arduino Language. Can anyone point me to some good information on it?
> >
> > _______________________________________________
> > CART360 mailing list
> > CART360 at uttermatter.com
> >
> http://uttermatter.com/mailman/listinfo/cart360_uttermatter.com
> >
> >
>
> ________________________________
> _______________________________________________
> CART360 mailing list
> CART360 at uttermatter.com
> http://uttermatter.com/mailman/listinfo/cart360_uttermatter.com
>
> _______________________________________________
> CART360 mailing list
> CART360 at uttermatter.com
> http://uttermatter.com/mailman/listinfo/cart360_uttermatter.com
>
>
More information about the CART360
mailing list