Coder Social home page Coder Social logo

microclicker's Introduction

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

microclicker's People

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

eamonnbell

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.