paparazzi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Paparazzi-devel] ADC_GENERIC error


From: Gautier Hattenberger
Subject: Re: [Paparazzi-devel] ADC_GENERIC error
Date: Tue, 07 Jul 2009 15:39:18 +0100
User-agent: Thunderbird 2.0.0.22 (X11/20090608)

You have to add the flag -DADC_CHANNEL_GENERIC_NB_SAMPLES=16 where 16 is the size of the ADC buffer.

Gautier


童磊 a écrit :
Hi all,
When I use these lines

"ap.CFLAGS += -DUSE_ADC_GENERIC -DADC_CHANNEL_GENERIC1=ADC_3 -DUSE_ADC_3
-DADC_CHANNEL_GENERIC1=ADC_4 -DUSE_ADC_4
ap.srcs += adc_generic.c"

to read the ADC value,an error occured showing "ADC_CHANNEL_GENERIC_NB_SAMPLES' undeclared".
How can I solve this?

Thanks
TL

------------------------------------------------------------------------

_______________________________________________
Paparazzi-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/paparazzi-devel





reply via email to

[Prev in Thread] Current Thread [Next in Thread]