Skip to content

Commit 7efb820

Browse files
authored
Refactor init_rc_baltimore function assignments
1 parent ed4f3fe commit 7efb820

1 file changed

Lines changed: 23 additions & 23 deletions

File tree

main.ts

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
* icon="\uf1ec"
55
*/
66

7-
//% color="#AA278D" weight=100 icon="\uf005" block="_category_remote_control"
8-
namespace remoteControl {
7+
//% color="#AA278D" weight=100 icon="\uf005"
8+
namespace Afstandsbediening {
99
// generic colom/row coordinates
1010
// (some positions may not be present depending on model):
1111
let _A1 = 0
@@ -261,27 +261,27 @@ export function init_rc_keyestudio () : void {
261261
//% block
262262

263263
export function init_rc_baltimore () : void {
264-
_A1 = 23 // lamp
265-
_B1 = 0 // n/a
266-
_C1 = 63 // auto
267-
_A2 = 4 // bright
268-
_B2 = 6 // medium bright
269-
_C2 = 31 // dim
270-
_A3 = 8 // high sensitive
271-
_B3 = 10 // medium sensitive
272-
_C3 = 47 // low sensitive
273-
_A4 = 12 // 10 sec
274-
_B4 = 14 // 1 min
275-
_C4 = 15 // 5 min
276-
_A5 = 16 // 30 min
277-
_B5 = 17 // 1hr
278-
_C5 = 55 // light2
279-
_A6 = 20 // full sun
280-
_B6 = 21 // half sun
281-
_C6 = 22 // moon
282-
_A7 = 0 // n/a
283-
_B7 = 0 // n/a
284-
_C7 = 0 // n/a
264+
_A1 = 23
265+
_B1 = 0
266+
_C1 = 63
267+
_A2 = 4
268+
_B2 = 6
269+
_C2 = 31
270+
_A3 = 8
271+
_B3 = 10
272+
_C3 = 47
273+
_A4 = 12
274+
_B4 = 14
275+
_C4 = 15
276+
_A5 = 16
277+
_B5 = 17
278+
_C5 = 55
279+
_A6 = 20
280+
_B6 = 21
281+
_C6 = 22
282+
_A7 = 0
283+
_B7 = 0
284+
_C7 = 0
285285
}
286286
}
287287

0 commit comments

Comments
 (0)