AP_RangeFinder - changed example sketch to work with new Filter library

This commit is contained in:
rmackay9 2012-02-28 21:02:10 +09:00
parent 033347f8ee
commit 2b6a10d18b

View File

@ -32,7 +32,7 @@ FastSerialPort0(Serial); // FTDI/console
// declare global instances
Arduino_Mega_ISR_Registry isr_registry;
ModeFilterInt16 mode_filter(5,2);
ModeFilterInt16_Size5 mode_filter(2);
#ifdef USE_ADC_ADS7844
AP_TimerProcess adc_scheduler;
AP_ADC_ADS7844 adc;