Mercurial > public > ostc4
diff Small_CPU/Inc/i2c.h @ 545:e595d2d1f77f
Add I2C address for external bulkhead ADC (Hardware gen 3 only) to i2c.h
author | heinrichsweikamp |
---|---|
date | Tue, 03 Nov 2020 12:47:51 +0100 |
parents | c3d511365552 |
children | 3328189786e7 |
line wrap: on
line diff
--- a/Small_CPU/Inc/i2c.h Mon Nov 02 12:13:02 2020 +0100 +++ b/Small_CPU/Inc/i2c.h Tue Nov 03 12:47:51 2020 +0100 @@ -26,6 +26,9 @@ /* Battery Gas Gauge */ #define DEVICE_BATTERYGAUGE 0xC8 // LTC2941 battery gauge +/* ADC for external bulkhead */ +#define DEVICE_EXTERNAL_ADC 0x68 // MCP3424 with Adr0=GND and Adr1=GND (Hardware gen 3 only) + /* Includes ------------------------------------------------------------------*/ #include "stm32f4xx_hal.h"