Просмотр исходного кода

his/hers -> yin/yang

also rename `proximibaet.js` to `blinkinlove.js`
master
The Dod 1 год назад
Родитель
Сommit
da3b2ee783
1 измененных файлов: 2 добавлений и 2 удалений
  1. 2
    2
      blinkinlove.js

proximibeat.js → blinkinlove.js Просмотреть файл

@@ -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

Загрузка…
Отмена
Сохранить