Editing Hack Notes CVA 090423

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 49: Line 49:
#(This is what's new:) There is a variable to keep track of the amount someone is turning.
#(This is what's new:) There is a variable to keep track of the amount someone is turning.
#As this activity level goes up, the length of time we keep the motor on increases and the length of time between counter resets decreases, and vice-versa.
#As this activity level goes up, the length of time we keep the motor on increases and the length of time between counter resets decreases, and vice-versa.
#One problem with this is when you are at just the right angle that the compass reading switches back and forth between motors very rapidly the activity level will shoot up. A decent solution - other than moving one's foot half a degree to leave that zone - would be to add some signal smoothing to the code so this situation is less common.


There are some relative constants involved in this process that will need lots of tweaking through experimentation:
There are some relative constants involved in this process that will need lots of tweaking through experimentation:
Please note that all contributions to Noisebridge are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see Noisebridge:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel Editing help (opens in new window)