Rei Vilo 695 Posted September 23, 2012 Share Posted September 23, 2012 The FraunchPad sports a built-in accelerometer, an ADXL335 from Analog Devices. This sketch pine, RobG, Rickta59 and 1 other 4 Quote Link to post Share on other sites
energia 485 Posted September 23, 2012 Share Posted September 23, 2012 Just tried the example Sketch and noticed a small bug in the library: diff -r -U 2 Accelerometer_FRAUNCHPAD/FraunchPad_Accelerometer.cpp Accelerometer_FRAUNCHPAD_new/FraunchPad_Accelerometer.cpp +++ Accelerometer_FRAUNCHPAD/FraunchPad_Accelerometer.cpp 2012-09-23 08:56:09.000000000 -0700 --- Accelerometer_FRAUNCHPAD_new/FraunchPad_Accelerometer.cpp 2012-09-23 08:30:24.000000000 -0700 @@ -79,5 +79,5 @@ void accelerometer_FR::begin() { + digitalWrite(ACC_ENABLE, HIGH); - pinMode(ACC_ENABLE, HIGH); _x = 0; _y = 0; Rei Vilo 1 Quote Link to post Share on other sites
energia 485 Posted September 23, 2012 Share Posted September 23, 2012 This is an awesome library! Thanks a bunch @Rei_Vilo for putting this together! For all that have a FraunchPad, we plan to do a release around the end of the month that will feature FraunchPad support. If you are interested what is on github now and help testing then pm me and I will get you going on building from github. Robert Quote Link to post Share on other sites
Rei Vilo 695 Posted September 25, 2012 Author Share Posted September 25, 2012 Robert, Thank you for noticing and fixing the bug! Quote Link to post Share on other sites
energia 485 Posted September 25, 2012 Share Posted September 25, 2012 I only noticed it but did not check in the fix ;-) Can you check it in please? Quote Link to post Share on other sites
Rei Vilo 695 Posted September 25, 2012 Author Share Posted September 25, 2012 Done and committed! Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.