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>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<button id="seq">START SEQUENCE</button>
|
<button id="seq" onclick="sequence();">START SEQUENCE</button>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<button id="frame" onclick="frame();">1 FRAME</button>
|
<button id="frame" onclick="frame();">1 FRAME</button>
|
||||||
|
|
|
@ -21,6 +21,7 @@ window.setDir = null;
|
||||||
window.setExposure = null;
|
window.setExposure = null;
|
||||||
window.setDelay = null;
|
window.setDelay = null;
|
||||||
window.setCounter = null;
|
window.setCounter = null;
|
||||||
|
window.sequence = null;
|
||||||
|
|
||||||
//ms
|
//ms
|
||||||
var shutter = function (exposure) {
|
var shutter = function (exposure) {
|
||||||
|
|
|
@ -112,6 +112,7 @@ mobile.init = function () {
|
||||||
window.setExposure = mobile.setExposure;
|
window.setExposure = mobile.setExposure;
|
||||||
window.setDelay = mobile.setDelay;
|
window.setDelay = mobile.setDelay;
|
||||||
window.setCounter = mobile.setCounter;
|
window.setCounter = mobile.setCounter;
|
||||||
|
window.sequence = mobile.sequence;
|
||||||
|
|
||||||
//show ble-specific fields in settings
|
//show ble-specific fields in settings
|
||||||
for (let i of bleInputs) {
|
for (let i of bleInputs) {
|
||||||
|
|
|
@ -165,5 +165,6 @@ web.init = function () {
|
||||||
window.setDelay = web.setDelay;
|
window.setDelay = web.setDelay;
|
||||||
window.setExposure = web.setExposure;
|
window.setExposure = web.setExposure;
|
||||||
window.setCounter = web.setCounter;
|
window.setCounter = web.setCounter;
|
||||||
|
window.sequence = web.sequence;
|
||||||
console.log('started web')
|
console.log('started web')
|
||||||
};
|
};
|
Loading…
Reference in New Issue