Skip to content

Latest commit

ย 

History

History
55 lines (37 loc) ยท 1.64 KB

README.md

File metadata and controls

55 lines (37 loc) ยท 1.64 KB

micro:clicker

npm version 1.0.6

๐Ÿ”Ž๐Ÿ–ฑ๏ธ use the bbc micro:bit as a slide clicker

here's a vid of it working: https://youtu.be/3ho0ime_nwQ

installation

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 to make it more compact and a buzzer sound for fun

development

installation

  1. follow instructions to install bbc-microbit
  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