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.
26 lines
280 B
C++
26 lines
280 B
C++
2 years ago
|
/*
|
||
|
History:
|
||
|
20230504 - V0.2
|
||
|
20230504 - V0.1 init.
|
||
|
*/
|
||
|
|
||
|
#include <SC_AI.h>
|
||
|
|
||
|
#include <Arduino.h>
|
||
|
|
||
|
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] = i;
|
||
|
}
|
||
|
sei();//allow interrupts
|
||
|
}
|
||
|
|