Skip to content

A Javascript library that enables communication between BLE devices and a p5 sketch using Web Bluetooth API. https://itpnyu.github.io/p5ble-website.

License

Notifications You must be signed in to change notification settings

ITPNYU/p5.ble.js

This branch is 34 commits ahead of, 2 commits behind yining1023/p5.ble.js:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

9de8a6b Β· Mar 15, 2021

History

71 Commits
Mar 15, 2021
Mar 15, 2021
Mar 15, 2021
Mar 15, 2021
Dec 1, 2019
Dec 27, 2018
Oct 14, 2019
Feb 6, 2019
Dec 27, 2018
Mar 15, 2021
Mar 15, 2021
Mar 15, 2021
Apr 25, 2019
Dec 27, 2018

Repository files navigation

MIT License Version

This project is currently in development.

A Javascript library that enables communication between your BLE devices and your p5 sketch. With p5.ble.js, you can request and connect to nearby Bluetooth devices, read/write Bluetooth characteristics, start/stop notifications.

The library is supported by code examples, tutorials that cover many popular Bluetooth LE devices.

p5.ble.js is inspired by p5.serialport, p5.js, Web Bluetooth API, and Processing Serial Library.

Usage

Download the minified, or use the online version and add it to the head section of your HTML document:

<script src="p5.ble.min.js" type="text/javascript"></script>

or

<script src="https://unpkg.com/[email protected]/dist/p5.ble.js" type="text/javascript"></script>

Browser compatibility

p5.ble.js is based on Web Bluetooth API, checkout Web Bluetooth API's browser compatibility and implementation status.

Learning

Resources

Examples

You can find a collection of examples in the examples folder in this repository.

Contributing

See CONTRIBUTING

Contributors ✨

Thanks goes to these wonderful people (emoji key):


Yining Shi

πŸ’» πŸ’‘ πŸ“– πŸ›

Jingwen Zhu

πŸ’‘ πŸ“– πŸ› πŸ“ βœ…

Tom Igoe

πŸ’‘ πŸ“– πŸ› πŸ“ βœ…

CΓ©dric

πŸ’»

Sandeep Mistry

πŸ’‘

This project follows the all-contributors specification. Contributions of any kind welcome!

About

A Javascript library that enables communication between BLE devices and a p5 sketch using Web Bluetooth API. https://itpnyu.github.io/p5ble-website.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 63.8%
  • C++ 28.7%
  • HTML 7.5%