Sensebender Frequency
-
Hello all,
I've got a simple question about programming Sensenbender micro module from Arduino IDE. It's clear that I have to set Board to "Sensebender Micro". But what do I have to set "Processor" to?
I thought "1 MHz" would be right since I read in the specs that it runs at 1 MHz. But then I found some code in the sample sketchs which seems to switch the frequency:
clock_prescale_set(clock_div_8); // Switch to 1Mhz for the reminder of the sketch, save power.What's the right setting in Arduino IDE? And is MEASURE_INTERVAL meant for 8 MHz or 1 MHz? Will this all work? How can timers count right when the CPU clock is reduced during running program?
Can you help?
Thank you!
Marcus.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login