Bladeren bron

his/hers -> yin/yang

also rename `proximibaet.js` to `blinkinlove.js`
master
The Dod 2 jaren geleden
bovenliggende
commit
da3b2ee783
1 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. 2
    2
      blinkinlove.js

proximibeat.js → blinkinlove.js Bestand weergeven

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

Laden…
Annuleren
Opslaan