From 03c0339e9a3abe90f0c76649eeecb54b896ba9e4 Mon Sep 17 00:00:00 2001 From: Peli de Halleux Date: Thu, 8 Dec 2016 09:16:27 -0800 Subject: [PATCH] fixing docs snippets --- docs/projects/smiley-buttons.md | 6 +++++- docs/reference/bluetooth/advertise-url.md | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/docs/projects/smiley-buttons.md b/docs/projects/smiley-buttons.md index 20a65108..2b0ff343 100644 --- a/docs/projects/smiley-buttons.md +++ b/docs/projects/smiley-buttons.md @@ -107,4 +107,8 @@ radio.onDataPacketReceived(({receivedNumber}) => { `) } }) -``` \ No newline at end of file +``` + +```package +radio +``` diff --git a/docs/reference/bluetooth/advertise-url.md b/docs/reference/bluetooth/advertise-url.md index 9a0a808d..76a981e2 100644 --- a/docs/reference/bluetooth/advertise-url.md +++ b/docs/reference/bluetooth/advertise-url.md @@ -18,7 +18,7 @@ Read more at https://lancaster-university.github.io/microbit-docs/ble/eddystone/ ## ~ ```sig -bluetooth.advertiseUrl("https://pxt.microbit.org/", 7); +bluetooth.advertiseUrl("https://pxt.microbit.org/", 7, true); ``` ### Parameters @@ -29,7 +29,7 @@ bluetooth.advertiseUrl("https://pxt.microbit.org/", 7); ### Example: Broadcast a secret code ```blocks -bluetooth.advertiseUrl("https://pxt.io?secret=42", 7); +bluetooth.advertiseUrl("https://pxt.io?secret=42", 7, true); ``` ## See Also