mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-08-28 22:30:40 -04:00
Add optional pin parameter to peripheral connection.
This commit is contained in:
parent
11b52c4e60
commit
8e302ac90c
2 changed files with 4 additions and 3 deletions
|
@ -571,7 +571,7 @@ class EV3 {
|
|||
*/
|
||||
connect (id) {
|
||||
if (this._bt) {
|
||||
this._bt.connectPeripheral(id);
|
||||
this._bt.connectPeripheral(id, '1234');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue