/* History: 20230504 - V0.2 20230504 - V0.1 init. */ #include #include int aipin[] = {A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15}; void SC_AI_setup(){ } void SC_AI(int arr[], int size){ //cli();//stop interrupts int i = 0; for(i = 0 ; i < size ; i++){ arr[i] = analogRead(aipin[i]); } //sei();//allow interrupts }