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

View File

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