https://github.com/zoetrope69/microclicker
🔎🖱️ use the bbc micro:bit as a slide clicker
https://github.com/zoetrope69/microclicker
bbc-microbit clicker microbit
Last synced: 5 months ago
JSON representation
🔎🖱️ use the bbc micro:bit as a slide clicker
- Host: GitHub
- URL: https://github.com/zoetrope69/microclicker
- Owner: zoetrope69
- Created: 2017-02-28T22:39:50.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-08T21:07:19.000Z (almost 9 years ago)
- Last Synced: 2024-10-29T00:06:55.402Z (over 1 year ago)
- Topics: bbc-microbit, clicker, microbit
- Language: JavaScript
- Homepage:
- Size: 24.4 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# micro:clicker

_🔎🖱️ use the bbc micro:bit as a slide clicker_
*here's a vid of it working: https://youtu.be/3ho0ime_nwQ*
## installation
#### 1. [follow instructions to install `bbc-microbit`](https://github.com/sandeepmistry/node-bbc-microbit#prerequisites)
> Make sure to follow the instructions for `noble` too.
#### 2. install microclicker globally with npm
```
npm install microclicker --global
```
## usage
Use the command `microclicker` to start scanning for micro:bits. You should see something like the following:
```
$ microclicker
🔎🖱 micro:clicker
🔮 Scanning for micro:bit...
Hold your micro:bit level!
🤖 micro:bit found!
🔌 Connecting to micro:bit
🤖 micro:bit connected!
➡️ Press right arrow to move right.
⬅️ Press left arrow to move left.
⬅️ ➡️ ️ Hold both buttons to disconnect.
🔀 Tilt up to show current progress in slides.
```
> i'm also using the [mi:power accessory](https://www.amazon.co.uk/MI-power-board-BBC-micro/dp/B01JP47T46) to make it more compact and a buzzer sound for fun
## development
### installation
1. [follow instructions to install `bbc-microbit`](https://github.com/sandeepmistry/node-bbc-microbit#prerequisites)
2. install dependancies `npm install` or `yarn`
### usage
1. turn microbit off
2. run `sudo node main.js` (_you'll probably need `sudo` to get access to bluetooth_)
3. turn microbit on
4. you should see a pattern
> press buttons to move slides, you should see a counter to help reflect your position in your slides. turn the microbit upside down to reset the counter