parent
58a5828629
commit
78842c48dc
|
@ -32,7 +32,6 @@ int main() {
|
||||||
}
|
}
|
||||||
AD1CON1bits.ASAM = 1;
|
AD1CON1bits.ASAM = 1;
|
||||||
while (IFS1bits.AD1IF == 0);
|
while (IFS1bits.AD1IF == 0);
|
||||||
int value = ADC1BUF0;
|
|
||||||
int total = 0;
|
int total = 0;
|
||||||
int *p = (int *)(&ADC1BUF0);
|
int *p = (int *)(&ADC1BUF0);
|
||||||
for (; p <= (int *)(&ADC1BUFF); p+=4)
|
for (; p <= (int *)(&ADC1BUFF); p+=4)
|
||||||
|
|
Loading…
Reference in New Issue