try to figure out how stuff works
This commit is contained in:
parent
39c91a18dd
commit
bf5c83de2a
@ -8,6 +8,15 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#define ADC_SAMPLES (uint8_t)200 //Number of ADC samples taken
|
||||
#define ADC_REF_V (float)3.33
|
||||
#define ADC_GAIN (float)(ADC_REF_V / 4096) //ADC digital to analog voltage factor
|
||||
#define ANALOG_GAIN (float)1750 //Hardware gain
|
||||
#define ADC_CH_POS 6 //AC signal input channel
|
||||
#define ADC_CH_NEG 7 //AC signal reference point input
|
||||
V
|
||||
void ADC_Handler(void);
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
|
||||
@ -5,6 +5,11 @@
|
||||
displayName="Header Files"
|
||||
projectFiles="true">
|
||||
</logicalFolder>
|
||||
<logicalFolder name="ExternalFiles"
|
||||
displayName="Important Files"
|
||||
projectFiles="true">
|
||||
<itemPath>Makefile</itemPath>
|
||||
</logicalFolder>
|
||||
<logicalFolder name="LinkerScript"
|
||||
displayName="Linker Files"
|
||||
projectFiles="true">
|
||||
@ -14,11 +19,6 @@
|
||||
projectFiles="true">
|
||||
<itemPath>main.c</itemPath>
|
||||
</logicalFolder>
|
||||
<logicalFolder name="ExternalFiles"
|
||||
displayName="Important Files"
|
||||
projectFiles="false">
|
||||
<itemPath>Makefile</itemPath>
|
||||
</logicalFolder>
|
||||
</logicalFolder>
|
||||
<projectmakefile>Makefile</projectmakefile>
|
||||
<confs>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user