Skip to content
This repository was archived by the owner on Jul 20, 2025. It is now read-only.

Commit 483bcde

Browse files
authored
Update README.md
1 parent 6e8b518 commit 483bcde

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ Also, check out the JavaScript [examples](https://github.com/mbientlab/MetaWear-
1212

1313
Under the hood it uses [Noble](https://github.com/mbientlab/noble) for Bluetooth Low Energy communications.
1414

15+
Under the hood it uses [Noble](https://github.com/mbientlab/noble) for Bluetooth Low Energy communications.
16+
1517
### Overview
1618

1719
[MetaWear](https://mbientlab.com) is a complete development and production platform for wearable and connected device applications.
@@ -33,10 +35,9 @@ Reach out to the [community](https://mbientlab.com/community/) if you encounter
3335
## Getting Started
3436

3537
### Installation
38+
The Mbient JavaScript SDK relies on [Noble](https://github.com/mbientlab/noble) for Bluetooth Low Energy communications. You need to setup the relevant [prerequisites for Noble](https://github.com/mbientlab/noble#prerequisites) and then [install Noble](https://github.com/mbientlab/noble#install). You should familiarize yourself with the rest of the README since there a few limitiations and other gotchas spelled out, such as the maximum number of simultaneous Bluetooth connections.
3639

37-
Before getting started, you need to setup the [prerequisites for Noble](https://github.com/mbientlab/noble#prerequisites). While you are there, familiarize yourself with the reset of the README since there a few limitiations and other gotchas spelled out.
38-
39-
Then you can simply install the NPM module:
40+
Then you can simply install the MetaWear NPM module with command line:
4041
```javascript
4142
npm install metawear
4243
```
@@ -67,7 +68,7 @@ device.connectAndSetUp(function (error) { ... }
6768
At this point you can call any of the MetaWear API's, for example, you can blink the LED green
6869
```javascript
6970
var pattern = new MetaWear.LedPattern();
70-
MetaWear.mbl_mw_led_load_preset_pattern(pattern.ref(), MetaWear.LedPreset.BLINK);
71+
MetaWear.mbl_mw_led_load_p_pattern(pattern.ref(), MetaWear.LedPreset.BLINK);
7172
MetaWear.mbl_mw_led_write_pattern(device.board, pattern.ref(), MetaWear.LedColor.GREEN);
7273
MetaWear.mbl_mw_led_play(device.board);
7374
```
@@ -96,4 +97,4 @@ MetaWear.discover(function (device) {
9697
9798
### Tutorials
9899
99-
Tutorials can be found [here](https://mbientlab.com/tutorials/).
100+
Tutorials can be found [here](https://mbientlab.com/tutorials/).

0 commit comments

Comments
 (0)