Skip to content

Commit ccc63e8

Browse files
authored
Update main.ts
1 parent 83d58c7 commit ccc63e8

1 file changed

Lines changed: 21 additions & 20 deletions

File tree

main.ts

Lines changed: 21 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,6 @@
77

88
//% color="#AA278D" weight=100
99
namespace RemoteControl {
10-
//% block
11-
export function init_Keyestudio() {
12-
13-
}
14-
15-
// note that Caml casing yields lower case
16-
// block text with spaces
17-
18-
//% block
19-
export function init_HX1838() {
20-
21-
}
22-
}
23-
24-
2510
let nul = 0
2611
let een = 0
2712
let twee = 0
@@ -39,8 +24,9 @@ let rechts = 0
3924
let ok = 0
4025
let ster = 0
4126
let hekje = 0
42-
function init_HX1838 (initialiseer_IR_variabelen: string) {
43-
nul = 25
27+
//% block
28+
export function init_Keyestudio() {
29+
nul = 25
4430
een = 93
4531
twee = 157
4632
drie = 29
@@ -57,9 +43,14 @@ function init_HX1838 (initialiseer_IR_variabelen: string) {
5743
ok = 199
5844
ster = 22
5945
hekje = 13
60-
}
61-
function init_Keyestudio (initialiseer_IR_variabelen: string) {
62-
nul = 181
46+
}
47+
48+
// note that Caml casing yields lower case
49+
// block text with spaces
50+
51+
//% block
52+
export function init_HX1838() {
53+
nul = 181
6354
een = 22
6455
twee = 25
6556
drie = 13
@@ -76,6 +67,16 @@ function init_Keyestudio (initialiseer_IR_variabelen: string) {
7667
ok = 253
7768
ster = 189
7869
hekje = 173
70+
}
71+
}
72+
73+
74+
75+
function init_HX1838 (initialiseer_IR_variabelen: string) {
76+
77+
}
78+
function init_Keyestudio (initialiseer_IR_variabelen: string) {
79+
7980
}
8081
basic.forever(function () {
8182

0 commit comments

Comments
 (0)