https://github.com/hakobe/microbit-ble-notifier-sample
Notify you events using micro:bit's LED
https://github.com/hakobe/microbit-ble-notifier-sample
microbit
Last synced: 12 months ago
JSON representation
Notify you events using micro:bit's LED
- Host: GitHub
- URL: https://github.com/hakobe/microbit-ble-notifier-sample
- Owner: hakobe
- License: mit
- Created: 2017-12-31T12:06:36.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-31T12:35:25.000Z (over 8 years ago)
- Last Synced: 2025-05-14T20:12:00.278Z (about 1 year ago)
- Topics: microbit
- Language: JavaScript
- Homepage:
- Size: 23.4 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# micro:bit BLE notifier sample
Notify you events using [micro:bit](http://microbit.org/)'s LED. Events are supplied from a host computer runnnig a watcher script via BLE(Bluetooth Low Energy).
So that this is a sample, events are from [filtered realtime tweets](https://developer.twitter.com/en/docs/tweets/filter-realtime/api-reference/post-statuses-filter.html). When new tweets including a specified keyword arrived from the API, LED on a micro:bit lights up.
## firmware
+ Goto https://makecode.microbit.org/
+ Select JavaScript mode
+ Paste code in `firmware.js`
+ Download a hex file
+ Flash the hex file to your micro:bit
## watcher script
+ Install `node` and `yarn`
+ Run `yarn` to install dependencies
+ Start watching like `node index.js `
## License
MIT