|
||
---|---|---|
README.md | ||
btn-server.py | ||
flowchart.xml | ||
jlaw.png | ||
the-button.ino | ||
the-button.py |
README.md
The Button
A cool Arduino button that kicks Jennifer-Lawrence (or anyone!) on IRC.
[22:56:02] <tsahyt> lots of new ways to kick jlaw today
[22:56:03] <tsahyt> today is a good day
Hardware Requirements
- Big Red novelty button
- Arduino (as long as it has usb serial)
- 2 * 1k resistors
- 9+ male to male jumper cables
- Breadboard
- A will to
livekick Jennifer-Lawrence
Software Requirements
- Python 2.7 with
pip install PySerial
- weechat
Setup
For the actual hardware setup, diagrams, and fancy graphs, my actual assignment writeup is done on my blog.
blag
Installation
Make sure this project is cloned into ~/git, else the weechat script can't spawn the listener.
Make sure weechat is setup to automatically authenticate with nickserv, and join the correct channel.
cp the-button.py ~/.weechat/python/autoload/
Edit the settings in the-button.py and change the target channel, network, and user.
Contributions
Thanks to:
- Zac, from uni who half came up with the idea while waiting for next class.
- nils_2 in #weechat@freenode for pointing me in the right direction with weechat's scripting API
- A_Dragon on Snoonet for being the test punching bag
- sham1 and browndawg #linuxmasterrace@Snoonet trying to help me use C++ (and then not getting mad when I chucked all that code away)
- Jennifer-Lawrence in #linuxmasterrace@Snoonet because this just makes abusing you a lot more fun. (<.<)