Skip to content

Commit

Permalink
moved 74hc595 configs to boardmap
Browse files Browse the repository at this point in the history
  • Loading branch information
Paciente8159 committed Feb 23, 2024
1 parent e7743eb commit d3a2fc9
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1003,15 +1003,15 @@ <h2 style="color: var(--bs-alert-color)">Advanced configurations</h2>
ng-bind="DYNAMIC['IC74HC595']['IC74HC595_COUNT']"></label>
<input type="range" class="form-range" min="0" max="7" name="IC74HC595_COUNT"
id="IC74HC595_COUNT" ng-model="DYNAMIC['IC74HC595']['IC74HC595_COUNT']"
model-scope-name="DYNAMIC.IC74HC595.IC74HC595_COUNT" var-type="int" config-file="hal"
model-scope-name="DYNAMIC.IC74HC595.IC74HC595_COUNT" var-type="int" config-file="boardmap"
ng-init="DYNAMIC['IC74HC595']['IC74HC595_COUNT']=0">
<div ng-if="DYNAMIC['IC74HC595']['IC74HC595_COUNT']!=0">
<label for="IC74HC595_DATA" class="form-label">IC74HC595's data pin</label>
<select class="form-select form-select-md" name="IC74HC595_DATA" id="IC74HC595_DATA"
ng-model="DYNAMIC['IC74HC595']['IC74HC595_DATA']"
model-scope-name="DYNAMIC.IC74HC595.IC74HC595_DATA"
ng-options="y.pin as y.pin for y in UCNCPINS | filter: {'type': 'generic_output'}"
config-file="hal" ng-init="DYNAMIC['IC74HC595']['IC74HC595_DATA']='DOUT8'">
config-file="boardmap" ng-init="DYNAMIC['IC74HC595']['IC74HC595_DATA']='DOUT8'">
</select>
<div class="alert alert-warning" role="alert"
ng-show="!DEFINED_PINS.includes(DYNAMIC['IC74HC595']['IC74HC595_DATA'])">
Expand All @@ -1022,7 +1022,7 @@ <h2 style="color: var(--bs-alert-color)">Advanced configurations</h2>
ng-model="DYNAMIC['IC74HC595']['IC74HC595_CLK']"
model-scope-name="DYNAMIC.IC74HC595.IC74HC595_CLK"
ng-options="y.pin as y.pin for y in UCNCPINS | filter: {'type': 'generic_output'}"
config-file="hal" ng-init="DYNAMIC['IC74HC595']['IC74HC595_CLK']='DOUT9'">
config-file="boardmap" ng-init="DYNAMIC['IC74HC595']['IC74HC595_CLK']='DOUT9'">
</select>
<div class="alert alert-warning" role="alert"
ng-show="!DEFINED_PINS.includes(DYNAMIC['IC74HC595']['IC74HC595_CLK'])">
Expand All @@ -1033,7 +1033,7 @@ <h2 style="color: var(--bs-alert-color)">Advanced configurations</h2>
ng-model="DYNAMIC['IC74HC595']['IC74HC595_LATCH']"
model-scope-name="DYNAMIC.IC74HC595.IC74HC595_LATCH"
ng-options="y.pin as y.pin for y in UCNCPINS | filter: {'type': 'generic_output'}"
config-file="hal" ng-init="DYNAMIC['IC74HC595']['IC74HC595_LATCH']='DOUT10'">
config-file="boardmap" ng-init="DYNAMIC['IC74HC595']['IC74HC595_LATCH']='DOUT10'">
</select>
<div class="alert alert-warning" role="alert"
ng-show="!DEFINED_PINS.includes(DYNAMIC['IC74HC595']['IC74HC595_LATCH'])">
Expand All @@ -1044,11 +1044,11 @@ <h2 style="color: var(--bs-alert-color)">Advanced configurations</h2>
<input type="range" class="form-range" min="0" max="100" name="IC74HC595_DELAY_CYCLES"
id="IC74HC595_DELAY_CYCLES" ng-model="DYNAMIC['IC74HC595']['IC74HC595_DELAY_CYCLES']"
model-scope-name="DYNAMIC.IC74HC595.IC74HC595_DELAY_CYCLES" var-type="int"
config-file="hal" ng-init="DYNAMIC['IC74HC595']['IC74HC595_DELAY_CYCLES']=0">
config-file="boardmap" ng-init="DYNAMIC['IC74HC595']['IC74HC595_DELAY_CYCLES']=0">
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" id="IC74HC595_CUSTOM_SHIFT_IO"
ng-model="DYNAMIC['IC74HC595']['IC74HC595_CUSTOM_SHIFT_IO']"
model-scope-name="DYNAMIC.IC74HC595.IC74HC595_CUSTOM_SHIFT_IO" config-file="hal">
model-scope-name="DYNAMIC.IC74HC595.IC74HC595_CUSTOM_SHIFT_IO" config-file="boardmap">
<label class="form-check-label" for="IC74HC595_CUSTOM_SHIFT_IO">Use board custom 74HC595
data shifter</label>
</div>
Expand Down

0 comments on commit d3a2fc9

Please sign in to comment.