GroveStreams

[Bug 0002] Changing Arduino Sample Frequency29

MikeMills private msg quote post Address this user
Changing the GroveStreams Ardunio sample frequency to a larger frequency such as 60 seconds caused samples to not upload or caused them to upload without any pauses.

This was due to Arduino type conversions between int, long, and unsigned long resulting in unexpected behavior.

We've modified a few of the sketch variable types and the problem has been resolved.

Your browser may be caching the old sketch. The latest sketch can be found here: http://pastebin.com/k0T5kkfs
Post 1 IP   flag post
MikeMills private msg quote post Address this user
If you are looking for how to actually change the sample rate then see this thread: https://forum.grovestreams.com/topic/30/changing-the-gs-example-arduino-sample-rate/
Post 2 IP   flag post
MikeMills private msg quote post Address this user
We made another update to the sample. We changed a few of the time variable to unsigned longs.
Post 3 IP   flag post
steveb private msg quote post Address this user
Thanks Mike, appreciated
Post 4 IP   flag post
2837 4 4
Log in or sign up to compose a reply.
destitute