SparkFun will be closed Nov 26th and 27th for the Thanksgiving holiday. Orders placed after 2:00pm MT on the 25th will ship out Monday the 30th.
Track My Order
Frequently Asked Questions
International Shipping Info
Mon-Fri, 9am to 12pm and
1pm to 5pm U.S. Mountain Time:
Chat With Us
October 3, 2010
about 4 years ago
I put up the code (main.c) and the Makefile on: https://docs.google.com/#folders/folder.0.0B5ay9K0LURz6YTFiOTY1MDItNTcyNS00YWNlLTlmNWEtZDc2MzVmMTQzZDlm
and also an explanation of what I did with it:
http://openbiologger.blogspot.com/2011/06/5-programming-miniature-accelerometer.html (see section Set up the Program)
I think you should get 2Hz if you change
to 10 on line 71.
Also I decided to make the uLog status LED blink five times during logging and then stop blinking after that to save battery. If you don’t want this you should be able to just delete the variable LEDcount on line 58 and also delete the if statement that starts on line 486 and all the lines involving LEDcount within that loop. If you set the logging frequency to be slower than 50Hz, the LED blinking frequency will also drop. For 5Hz, I get one blink every 20 seconds or so.
I hope that helps!
I changed the code to log at 5Hz (but I can show you how to set it to any frequency), would that help? Let me know and I can send it to you.
Thanks for that!! Saved me a ton of trouble.
No public wish lists :(
Forgot your password?
No account? Register one!