Add led pin setting

This commit is contained in:
2025-06-04 20:03:51 +12:00
parent 0b6eb9724f
commit 42e92dafc8
3 changed files with 22 additions and 1 deletions

View File

@@ -100,6 +100,16 @@
/>
<input type="submit" value="Update Number of LEDs" />
</form>
<form id="led_pin_form" method="post" action="/led_pin">
<label for="num_leds">Led pin:</label>
<input
type="text"
id="led_pin"
name="led_pin"
value="{{settings['led_pin']}}"
/>
<input type="submit" value="Update Led Pin" />
</form>
<p>Mac address: {{mac}}</p>
</div>
<div id="connection-status"></div>