Hi, I am using the involtListenForPin[0] to trigger action in app from device. I connected a sensor to Arduino Uno and it works fine. The problem is the other JQuery statement won't work, here's my code:
$(document).ready(function(){
$(".black").click(function(){
$(".rec").animate({
top: "667px",
opacity: '0'}, "500");
$(".black").animate({opacity: '0'}, "50");
});
involtListenForPin[0] = function(index, value){
if (value >100 ) {
$(".rec").animate({
top: "339px",
opacity: '1'}, "500");
$(".black").animate({opacity: '0.5'}, "50");
}};
});
Thank you!
Hi, I am using the involtListenForPin[0] to trigger action in app from device. I connected a sensor to Arduino Uno and it works fine. The problem is the other JQuery statement won't work, here's my code:
});
Thank you!