X-Git-Url: https://git.gag.com/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmicropeak%2Fao_pins.h;h=64f4444fd0b008d73d824fd8b28816e560fc424d;hb=c494eecc51f7d80e24e5db7af0021c56cb6871d4;hp=de9fc7f29c2b3848e7d56afb333b7a9a4e3d9f00;hpb=5a55501660ebab3b858a48483c5df1cfb4e858e4;p=fw%2Faltos diff --git a/src/micropeak/ao_pins.h b/src/micropeak/ao_pins.h index de9fc7f2..64f4444f 100644 --- a/src/micropeak/ao_pins.h +++ b/src/micropeak/ao_pins.h @@ -29,10 +29,10 @@ #define HAS_SERIAL_1 0 #define HAS_TASK 0 #define HAS_MS5607 1 -#define HAS_MS5611 1 +#define HAS_MS5611 0 #define HAS_EEPROM 0 #define HAS_BEEP 0 -#define AVR_CLOCK 8000000UL +#define AVR_CLOCK 250000UL /* SPI */ #define SPI_PORT PORTB @@ -41,9 +41,12 @@ #define AO_MS5607_CS_PORT PORTB #define AO_MS5607_CS_PIN 3 +/* MS5607 */ #define AO_MS5607_SPI_INDEX 0 #define AO_MS5607_MISO_PORT PORTB #define AO_MS5607_MISO_PIN 0 +#define AO_MS5607_BARO_OVERSAMPLE 4096 +#define AO_MS5607_TEMP_OVERSAMPLE 1024 /* I2C */ #define I2C_PORT PORTB