All Projects → pizayanz → pxt-linebeacon

pizayanz / pxt-linebeacon

Licence: MIT license
LINE Beacon for micro:bit

Programming Languages

C++
36643 projects - #6 most used programming language
typescript
32286 projects

Projects that are alternatives of or similar to pxt-linebeacon

pxt-minode
mi:node kit(micro:bit IoT Starter Kit by element14) driver package for PXT/microbit
Stars: ✭ 25 (-10.71%)
Mutual labels:  microbit
pyscrlink
Scratch-link for Linux written in python
Stars: ✭ 88 (+214.29%)
Mutual labels:  microbit
blockly
Otto Blockly; a fully integrated graphical programming for any type of Arduino projects, including robots, ready to install in your computer, it works offline and also online
Stars: ✭ 85 (+203.57%)
Mutual labels:  microbit
microrust
Learning embedded development with Rust on the micro:bit
Stars: ✭ 52 (+85.71%)
Mutual labels:  microbit
smart-garden-ornaments
The smart garden ornaments project! 🦩🌱🤖
Stars: ✭ 20 (-28.57%)
Mutual labels:  microbit
Pxt
Microsoft MakeCode (PXT - Programming eXperience Toolkit)
Stars: ✭ 1,649 (+5789.29%)
Mutual labels:  microbit
pxt-calliope
A Microsoft MakeCode editor for the Calliope Mini board
Stars: ✭ 33 (+17.86%)
Mutual labels:  microbit
LINE-FreshBot
LINE Bot
Stars: ✭ 23 (-17.86%)
Mutual labels:  linebot
microbit hcsr04
micro:bit library for the HC-SR04 ultrasonic sensor
Stars: ✭ 15 (-46.43%)
Mutual labels:  microbit
linezx
Way line be with me?
Stars: ✭ 12 (-57.14%)
Mutual labels:  linebot
pxt-neopixel
A Neo-Pixel package for pxt-microbit
Stars: ✭ 47 (+67.86%)
Mutual labels:  microbit
Electronic-Cheat-Sheet-and-Schematics-MegaCollection
A lot of Files of various Electronic Shit that I have collected over the years. Cheatsheet, Schematics, Pinouts, Pdf, and More... Enjoy it ;)
Stars: ✭ 43 (+53.57%)
Mutual labels:  microbit
pxt-powerfunctions
MakeCode extension for controlling your LEGO Power Functions devices with an IR-emitting LED
Stars: ✭ 44 (+57.14%)
Mutual labels:  microbit
Python-For-Kids
A comprehensive and FREE Online Python Development tutorial FOR KIDS utilizing an official BBC micro:bit Development Board going step-by-step into the world of Python for microcontrollers.
Stars: ✭ 621 (+2117.86%)
Mutual labels:  microbit
microbit ssd1306
Simple micropython library for the micro:bit to control the SSD1306 display
Stars: ✭ 47 (+67.86%)
Mutual labels:  microbit
microbit-ble
Read data from micro:bit using Bluetooth from Linux
Stars: ✭ 40 (+42.86%)
Mutual labels:  microbit
Tinygo
Go compiler for small places. Microcontrollers, WebAssembly (WASM/WASI), and command-line tools. Based on LLVM.
Stars: ✭ 9,068 (+32285.71%)
Mutual labels:  microbit
LINE-Source
Line Application Source
Stars: ✭ 43 (+53.57%)
Mutual labels:  linebot
redive linebot
基於 Bottender 框架實作出的,公主連結聊天機器人,附加其他實用管理功能。
Stars: ✭ 20 (-28.57%)
Mutual labels:  linebot
drone-line
Sending line notifications using a binary, docker or Drone CI.
Stars: ✭ 78 (+178.57%)
Mutual labels:  linebot

LINE Beacon for micro:bit

View readme on github pages

Japanese is here (日本語はこちら)

Version dependency

for micro:bit v2

This linebeacon extension conflicts with bluetooth extension, so can't be used together.

for micro:bit v1

This linebeacon extension works with bluetooth extension.

Usage

This package makes micro:bit to LINE Beacon.

What's LINE Beacon

LINE beacon delivers some content to LINE App on Android/iOS device using BLE.

Users will be able to receive contents matching the place such as visiting coupons and storefront product information from LINE from the beacon installed in the store.

https://developers.line.me/en/docs/messaging-api/using-beacons/

Quick Start

  1. Register and get your HWID at https://admin-official.line.me/beacon/register
  2. Add a 'LINE Beacon start' block and copy & paste your HWID (5 bytes hex).

first compile takes few minutes.

Sample

input.onButtonPressed(Button.A, function () {
    basic.showIcon(IconNames.Yes)
    linebeacon.start("0f0f0f0f0f")
})
input.onButtonPressed(Button.AB, function () {
    basic.showIcon(IconNames.Yes)
    linebeacon.startWithDeviceMessage(
    "0f0f0f0f0f",
    "1a2b3c4d5e6f70809010a0b0c0"
    )
})
input.onButtonPressed(Button.B, function () {
    basic.showIcon(IconNames.No)
    linebeacon.stop()
})
basic.showIcon(IconNames.Heart)

License

MIT

Supported targets

  • for PXT/microbit
<script src="https://makecode.com/gh-pages-embed.js"></script><script>makeCodeRender("{{ site.makecode.home_url }}", "{{ site.github.owner_name }}/{{ site.github.repository_name }}");</script>
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].