Add events to the html and respective libraries, web, mobile and core
This commit is contained in:
parent
e880e44a5c
commit
2545df2c38
|
@ -49,7 +49,7 @@
|
|||
</select>
|
||||
</div>
|
||||
<div>
|
||||
<button id="seq">START SEQUENCE</button>
|
||||
<button id="seq" onclick="sequence();">START SEQUENCE</button>
|
||||
</div>
|
||||
<div>
|
||||
<button id="frame" onclick="frame();">1 FRAME</button>
|
||||
|
|
|
@ -21,6 +21,7 @@ window.setDir = null;
|
|||
window.setExposure = null;
|
||||
window.setDelay = null;
|
||||
window.setCounter = null;
|
||||
window.sequence = null;
|
||||
|
||||
//ms
|
||||
var shutter = function (exposure) {
|
||||
|
|
|
@ -112,6 +112,7 @@ mobile.init = function () {
|
|||
window.setExposure = mobile.setExposure;
|
||||
window.setDelay = mobile.setDelay;
|
||||
window.setCounter = mobile.setCounter;
|
||||
window.sequence = mobile.sequence;
|
||||
|
||||
//show ble-specific fields in settings
|
||||
for (let i of bleInputs) {
|
||||
|
|
|
@ -165,5 +165,6 @@ web.init = function () {
|
|||
window.setDelay = web.setDelay;
|
||||
window.setExposure = web.setExposure;
|
||||
window.setCounter = web.setCounter;
|
||||
window.sequence = web.sequence;
|
||||
console.log('started web')
|
||||
};
|
Loading…
Reference in New Issue