fixign radio not showing up (#1872)

This commit is contained in:
Peli de Halleux 2019-02-27 09:12:27 -08:00 committed by GitHub
parent 52e1d83d27
commit 889db5f66f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -67,9 +67,11 @@
* [Command Responder](/courses/blocks-to-javascript/command-responder)
* [Writing Functions](/courses/blocks-to-javascript/writing-functions)
* [Courses](/courses)
* [Intro to CS](/courses/csintro)
* [Intro to CS Online](/courses/csintro)
* [Intro to CS Classroom](/courses/csintro-educator)
* [Science Experiments](/courses/ucp-science)
* [Learn All About micro:bit](https://goo.gl/XTPYpP)
* [Coding and Innovation](https://sites.google.com/view/utahcodingproject/microbits/coding-innovation)
* [Discover JavaScript Blocks](https://microbit.org/en/2017-03-07-javascript-block-resources/)
* [Networking with the micro:bit](https://microbit.nominetresearch.uk/networking-book/)
* [SparkFun Videos](https://youtu.be/kaNtg1HGXbY?list=PLBcrWxTa5CS0mWJrytvii8aG5KUqMXvSk)

View File

@ -29,6 +29,7 @@ namespace pxsim {
const b = board();
Runtime.postMessage(<SimulatorRadioPacketMessage>{
type: "radiopacket",
broadcast: true,
rssi: -42, // -42 is the strongest signal
serial: b.radioState.transmitSerialNumber ? pxsim.control.deviceSerialNumber() : 0,
time: new Date().getTime(),