verityRF
verityRF
``` x = analogRead(A0); if (x > 0) return x; ``` and ``` if (analogRead(A0) > 0) return analogRead(A0); ``` -should- have different behavior, as far as mimicking real controller...
Right, I did have a way around this in ArduinoSim by just having an upper length fixed at compile time and the callers can reference that parameter, though that's not...
Though I do have concern still about the original example ``` x = analogRead(A0); if (x > 0) return x; ``` and ``` if (analogRead(A0) > 0) return analogRead(A0); ```...
The overlying issue is the lack of being able to preload a sequence of data. It could be noise, sure, but it could also be voltages corresponding to pressure waveforms...
I understand the con, but I'm not sure that just having the callback only method causes that much issue, since the developer writing the test knows ahead of time how...