Skip to content

Commit

Permalink
adapt "pcnt formula" to "pcnt multiplier"
Browse files Browse the repository at this point in the history
  • Loading branch information
ftylitak committed Jul 9, 2024
1 parent acb8bf3 commit 1224124
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions insighioNode/www/step-5-measurements.html
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@
addSwitch("options-sdi12", "ins-esp-gen-pcnt-1-enable", "Pulse Counter Enable")
//addSelect("options-sdi12", "ins-esp-gen-pcnt-1-cnt-on", "Pulse Counter Trigger")
addSwitch("options-sdi12", "ins-esp-gen-pcnt-1-high-freq", "High Frequency", undefined, true)
addInput('options-sdi12', 'ins-esp-gen-pcnt-1-formula', 'Pulse Counter Formula', "text", true)
addInput('options-sdi12', 'ins-esp-gen-pcnt-1-formula', 'Pulse Counter Multiplier', "text", true)
//addIn

generateOptions("input-i2c-1", i2cOptions)
Expand Down Expand Up @@ -448,7 +448,7 @@
setElemValue("ins-esp-gen-4-20-snsr-2-formula", Cookies.get("meas-4-20-snsr-2-formula"), "v")
setElemValueBool('ins-esp-gen-pcnt-1-enable', strToJSValue(Cookies.get("meas-pcnt-1-enable")), false)
//setElemValue('ins-esp-gen-pcnt-1-cnt-on', strToJSValue(Cookies.get("meas-pcnt-1-cnt-on-rising")) ? "rising" : "falling", "rising")
setElemValue('ins-esp-gen-pcnt-1-formula', Cookies.get("meas-pcnt-1-formula"), "v")
setElemValue('ins-esp-gen-pcnt-1-formula', Cookies.get("meas-pcnt-1-formula"), "1")
setElemValueBool('ins-esp-gen-pcnt-1-high-freq', strToJSValue(Cookies.get("meas-pcnt-1-high-freq")), true)

setElemValueBool('input-store-meas-if-failed-conn', strToJSValue(Cookies.get("store-meas-if-failed-conn")), false)
Expand Down

0 comments on commit 1224124

Please sign in to comment.