https://github.com/nitz/circuitpython_mouseshaker
A teeny circuitpython script that makes your mouse shake to keep your PC awake.
https://github.com/nitz/circuitpython_mouseshaker
Last synced: 11 days ago
JSON representation
A teeny circuitpython script that makes your mouse shake to keep your PC awake.
- Host: GitHub
- URL: https://github.com/nitz/circuitpython_mouseshaker
- Owner: nitz
- License: mit
- Created: 2020-08-22T19:20:40.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-08-22T19:25:03.000Z (almost 6 years ago)
- Last Synced: 2025-01-21T20:33:42.763Z (over 1 year ago)
- Language: Python
- Size: 3.91 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# circuitpython_MouseShaker
A teeny circuitpython script that makes your mouse shake to keep your PC awake.
## Hardware
This was created and used on an [Adafruit Trinket M0](https://www.adafruit.com/product/3500), a low cost SAMD21 development board that I absolutely adore.
## Usage
Plug the device in with this main loaded up, and every few seconds your mouse will shake! You can edit the settings at the top of the `main.py` to adjust how often or how far it shakes easily. As well, tapping on pin `3` with your finger will enable/disable the shake. (It uses the capacitive touch of the pin, so it can be a little tricky to get the feel for. The RGB LED will go through a nice color wheel while it's active, and pulse red while it's not. The other led lights up when you're activiating the touch on pin `3`.
## License
MIT License, go wild.