diff Small_CPU/Inc/i2c.h @ 554:3328189786e7

Added external ADC interface functionality (MCP3424): Added communication protocoll to read data from external ADC. At the moment 16bit and 18bit resolutions are supported. External data will be read and forwarded depending on the conversion time of the ADC.
author Ideenmodellierer
date Thu, 12 Nov 2020 19:46:03 +0100
parents e595d2d1f77f
children 91a8f9893e68
line wrap: on
line diff
--- a/Small_CPU/Inc/i2c.h	Sun Nov 08 18:49:54 2020 +0100
+++ b/Small_CPU/Inc/i2c.h	Thu Nov 12 19:46:03 2020 +0100
@@ -27,7 +27,7 @@
 #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)
+#define DEVICE_EXTERNAL_ADC				0xD0	// MCP3424 with Adr0=GND and Adr1=GND (Hardware gen 3 only)
 
 
 /* Includes ------------------------------------------------------------------*/