Add auto config false at device config level + PCF8563
This commit is contained in:
parent
8b0068859b
commit
a5f81a5053
2 changed files with 4 additions and 2 deletions
|
|
@ -359,6 +359,7 @@
|
|||
<select id="rtc-select">
|
||||
<option value="soft">Software RTC</option>
|
||||
<option value="PCF8523">PCF8523</option>
|
||||
<option value="PCF8563">PCF8563</option>
|
||||
<option value="DS3231">DS3231</option>
|
||||
<option value="DS1307">DS1307</option>
|
||||
</select>
|
||||
|
|
@ -509,7 +510,7 @@
|
|||
<div id="generate-section" class="section hidden">
|
||||
<h2>7. Generate Configuration</h2>
|
||||
<button id="generate-config-btn">Generate Configuration</button>
|
||||
<input type="checkbox" id="use-auto-init" onchange="javascript:appState.enableautoConfig=this.checked;"> <label for="use-auto-init" title="Auto config fallback for I2C sensors that fail to initialise (selects alternative sensors at same address)">Use Auto Init fallback</label>
|
||||
<input type="checkbox" id="use-auto-init" onchange="javascript:appState.enableautoConfig=this.checked;"> <label for="use-auto-init" title="Auto config fallback for I2C sensors that fail to initialise (selects alternative sensors at same address)">Use Auto Init fallback for failed or unspecified components (default)</label>
|
||||
<div id="config-output-container" class="hidden">
|
||||
<h3>Configuration JSON:</h3>
|
||||
<pre id="config-output" class="config-output"></pre>
|
||||
|
|
|
|||
|
|
@ -1952,7 +1952,8 @@ function generateConfiguration() {
|
|||
referenceVoltage: appState.selectedBoard.referenceVoltage,
|
||||
totalGPIOPins: appState.selectedBoard.totalGPIOPins,
|
||||
totalAnalogPins: appState.selectedBoard.totalAnalogPins,
|
||||
statusLEDBrightness: appState.statusLEDBrightness
|
||||
statusLEDBrightness: appState.statusLEDBrightness,
|
||||
autoConfig: appState.enableautoConfig
|
||||
},
|
||||
components: []
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue