diff options
| author | Keith Packard <keithp@keithp.com> | 2012-10-30 19:44:45 -0700 | 
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2012-10-30 21:31:27 -0700 | 
| commit | af8cb40851a5cf5e3bd06ddd85e4e2df16bfbad2 (patch) | |
| tree | 370bede91200c9d349ba88c16fc7b89dbcfb2cab /src/micropeak/ao_pins.h | |
| parent | 371da0c909098092db7b596496df9d58eed43703 (diff) | |
altos/micropeak: Run MS5607 at max resolution for micropeak
We've got lots of time, so get the highest resolution baro data available.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/micropeak/ao_pins.h')
| -rw-r--r-- | src/micropeak/ao_pins.h | 3 | 
1 files changed, 3 insertions, 0 deletions
diff --git a/src/micropeak/ao_pins.h b/src/micropeak/ao_pins.h index cf5951df..64f4444f 100644 --- a/src/micropeak/ao_pins.h +++ b/src/micropeak/ao_pins.h @@ -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  | 
