moving block down category

This commit is contained in:
Peli de Halleux 2016-05-09 23:03:42 -07:00
parent 5884231399
commit fcfdbcc7e4
2 changed files with 4 additions and 4 deletions

View File

@ -56,7 +56,7 @@ namespace radio {
* @param the numberic value * @param the numberic value
*/ */
//% help=radio/stream-value //% help=radio/stream-value
//% weight=15 //% weight=4
//% blockId=radio_datagram_stream_value block="stream|value %name|= %value" //% blockId=radio_datagram_stream_value block="stream|value %name|= %value"
void streamValue(StringData* name, int number) { void streamValue(StringData* name, int number) {
if (radioEnable() != MICROBIT_OK) return; if (radioEnable() != MICROBIT_OK) return;
@ -78,7 +78,7 @@ namespace radio {
* to the serial stream as JSON * to the serial stream as JSON
*/ */
//% help=radio/read-value-to-serial //% help=radio/read-value-to-serial
//% weight=14 //% weight=3
void readValueToSerial() { void readValueToSerial() {
if (radioEnable() != MICROBIT_OK) return; if (radioEnable() != MICROBIT_OK) return;
PacketBuffer p = uBit.radio.datagram.recv(); PacketBuffer p = uBit.radio.datagram.recv();

View File

@ -20,7 +20,7 @@ declare namespace radio {
* @param the numberic value * @param the numberic value
*/ */
//% help=radio/stream-value //% help=radio/stream-value
//% weight=15 //% weight=4
//% blockId=radio_datagram_stream_value block="stream|value %name|= %value" shim=radio::streamValue //% blockId=radio_datagram_stream_value block="stream|value %name|= %value" shim=radio::streamValue
function streamValue(name: string, number: number): void; function streamValue(name: string, number: number): void;
@ -29,7 +29,7 @@ declare namespace radio {
* to the serial stream as JSON * to the serial stream as JSON
*/ */
//% help=radio/read-value-to-serial //% help=radio/read-value-to-serial
//% weight=14 shim=radio::readValueToSerial //% weight=3 shim=radio::readValueToSerial
function readValueToSerial(): void; function readValueToSerial(): void;
/** /**