|
@@ -1,8 +1,8 @@
|
1
|
1
|
// === ENTER NRF.getAddress() results of the couple of
|
2
|
2
|
// === puck.js devices you want to identify each other
|
3
|
|
-const his = "12:34:56:78:9a:bc", hers = "fe:dc:ba:98:76:54";
|
|
3
|
+const yin = "12:34:56:78:9a:bc", yang = "fe:dc:ba:98:76:54";
|
4
|
4
|
|
5
|
|
-let me = NRF.getAddress(), other = me===hers ? his : hers;
|
|
5
|
+let me = NRF.getAddress(), other = me===yin ? yang : yin;
|
6
|
6
|
let other_id = `${other} random`;
|
7
|
7
|
|
8
|
8
|
// heart-beat LED animation sequence
|