-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
Hi,
The Arduino example you have (arduino_csv_example.ino) seem to have a few mistakes.
Line 76: int numIntegrationBlocks = (intTime * 1000) / blockTime;
Here the numIntegrationBlocks will overflow as on Uno it will not fit in 15 bit signed integer and the following loop never executes
Line 49: int read_time = 35; // Amount of time that the analogRead() procedure takes (in microseconds)
The comment at line 130 is actually more correct - on Uno analogRead() will take 111 microseconds (according to http://meettechniek.info/embedded/arduino-analog.html). In any case what the read_time is set to seems to be quite a way off.
Could you please correct them since the project is shared publically?
Metadata
Metadata
Assignees
Labels
No labels