DEVICE CONNECTED
Power
Mode
Menu
Alarm
Snooze
Scan
Preset
Play
Pause
Stop
Tune
Volume
function myFunction() { document.getElementById("screen-on").style.opacity = "1"; document.getElementById("power-on").innerHTML = "POWER ON"; document.getElementById("device").style.opacity = "0"; document.getElementById("animation").innerHTML = ""; } var x = document.getElementById("myAudio"); function playAudio() { x.play(); document.getElementById("power-on").innerHTML = ""; document.getElementById("screen-on").style.opacity = "1"; document.getElementById("device").style.opacity = "1"; document.getElementById("animation").innerHTML = "NOW PLAYING - ENERGY - BEN SOUND"; } function pauseAudio() { x.pause(); document.getElementById("power-on").innerHTML = "PAUSED"; document.getElementById("screen-on").style.opacity = "1"; document.getElementById("device").style.opacity = "1"; document.getElementById("animation").innerHTML = ""; } function scanDevice() { document.getElementById("screen-on").style.opacity = "1"; document.getElementById("power-on").innerHTML = "SCANNING DEVICE"; document.getElementById("animation").innerHTML = ""; } //# sourceURL=pen.js