浏览代码

his/hers -> yin/yang

also rename `proximibaet.js` to `blinkinlove.js`
master
The Dod 1年前
父节点
当前提交
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

正在加载...
取消
保存