Skip to content

Commit

Permalink
added a new firmware segment RFID Scanner RTC
Browse files Browse the repository at this point in the history
  • Loading branch information
SalamunKawlam committed Jan 7, 2025
1 parent c26b619 commit ba0fe52
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
Binary file added firmware/rfid_rtc.bin
Binary file not shown.
14 changes: 14 additions & 0 deletions firmware/rfid_rtc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"name": "Sentinel RFID Scanner (with RTC)",
"version": "2.00",
"new_install_prompt_erase": true,
"new_install_improv_wait_time": 0,
"builds": [
{
"chipFamily": "ESP32",
"parts": [
{ "path": "rfid_rtc.bin", "offset": 0 }
]
}
]
}
6 changes: 4 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
align-items: center;
justify-content: center;
text-align: center;
padding: 12px 8px;
padding: 12px 12px;
font-size: 16px;
font-weight: 500;
cursor: pointer;
Expand Down Expand Up @@ -107,6 +107,8 @@ <h1 class="heading">Sentinel Companion Webflasher</h1>
</div>

<div class="segment-picker" id="segment-picker">
<input type="radio" id="rfid-rtc" name="firmware" value="firmware/rfid_rtc.json" checked>
<label for="rfid-rtc">RFID Scanner (RTC)</label>
<input type="radio" id="rfid" name="firmware" value="firmware/rfid.json" checked>
<label for="rfid">RFID Scanner</label>
<input type="radio" id="proximity" name="firmware" value="firmware/proximity.json">
Expand Down Expand Up @@ -151,7 +153,7 @@ <h1 class="heading">Sentinel Companion Webflasher</h1>
const main = document.getElementById('main');

if (main && segment) {
segment.style.width = `${main.offsetWidth}px`;
segment.style.width = `${main.offsetWidth+main.offsetWidth*0.2}px`;
}
});
</script>
Expand Down

0 comments on commit ba0fe52

Please sign in to comment.