We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4ff8ac commit 021a3a1Copy full SHA for 021a3a1
libs/device/pxt.json
@@ -10,6 +10,7 @@
10
"smallFood.ts",
11
"bigFood.jres",
12
"bigFood.ts",
13
+ "radio.d.ts",
14
"sprites.duck.jres",
15
"sprites.duck.ts",
16
"sprites.castle.jres",
libs/device/radio.d.ts
@@ -0,0 +1,7 @@
1
+declare namespace radio {
2
+ /**
3
+ * Sends an event over radio to neigboring devices
4
+ */
5
+ //% blockHidden=1 shim=radio::raiseEvent
6
+ function raiseEvent(src: int32, value: int32): void;
7
+}
0 commit comments