背景:
我正在从事一个温度监测项目Obniz微控制器。目标是在温度超过所选阈值时发出通知。
我搜索了很多关于制作触发器的信息,这样ifttt就可以读取我的触发器了,但是我找不到适合我的温度监测项目的完美方法。
这是我想要被触发的js代码:
var t = document.getElementById("tThresh");
var tempThresh = t.options[t.selectedIndex].value;
if (obj.temperature > tempThresh){
led1.on()
obniz.display.print(&
我正在做一个应用程序,这将说话的呼叫者name.It是有一个主要活动和两个广播接收器来监测来电和短信。它从接收器启动用于说出呼叫者名字服务。
我面临的问题是
I want to start ans stop this broadcast receivers from the UI.i mean with the help of two buttons.
有没有可能,如果有,我该怎么做?