would be cool.
Just like arduinos tone (pin number,freq,duration) command.
Regards Andi
Explore... Chat... Share...
Moderator: Mmiscool
pinstat = 0
meter pinstat, 0, 1
wprint "<br><br><audio controls id='player'> <source src='/uploads/sound.mp3' type='audio/mpeg'>You need HTML5.</audio>"
wprint "<br><br><input type='submit' value='Activate' onclick='setup()'>"
wprint "<script> function setup() { "
wprint "var m=document.getElementByName('0');
wprint "m.onchange=function() { make_noise(); }"
wprint "make_noise(); } "
wprint "function make_noise() { var obj=document.getElementById('player'); obj.play(); } "
wprint "</script>"
interrupt 12, [change]
wait
[change]
pinstat = io(laststat,12)
wait
It takes about 20-25 seconds for home assistant c[…]
I tried to upgrade tof my sonoff basic R2 with the[…]
a problem Perhaps you want to define "Probl[…]
Rebooting your router will not give you a faster I[…]
There are no other notifications from esptool.py i[…]
Using the Arduino IDE, you'll learn how to set up […]
In this project, you will post to Twitter using an[…]
In this project, we will build a water level contr[…]
I guess I'm late, but I had the same problem and f[…]
Last night I received my first D1 Minis for a lear[…]
Although I am aware that this is an old post, I fe[…]