You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
235 B
C++

const int aipin[] = {A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15};
void GPIO_setup(){
}
void read_analog(){
int i = 0;
for(i = 0 ; i < Size_AI ; i++){
Values_AI[i] = analogRead(aipin[i]);
}
}