# HG changeset patch # User heinrichsweikamp # Date 1604404071 -3600 # Node ID e595d2d1f77f50f666bdb168d7a2ffbb88c77db9 # Parent 3bb94d361f29a9bb701145730aeffef760b7fcc3 Add I2C address for external bulkhead ADC (Hardware gen 3 only) to i2c.h diff -r 3bb94d361f29 -r e595d2d1f77f Small_CPU/Inc/i2c.h --- 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"