I am using the Arduino Nano every. Take this example where I am measuring two things A and B.
Loop{// this loop runs once every second
//Read A,B
//Change something using analogueWrite which would effect A,B values
//Read A,B
}
Loop{// this loop runs once every second
//Read A,B
//Change something using analogueWrite which would effect A,B values
//Read A,B
}
Would the analogueWriteanalogueWrite values have changed fast enough such that the third line would read the new and changed A,B values?