Skip to content

Commit 8a0e754

Browse files
WebServer: add basic "View Screen" functionality to view the device's display remotely
1 parent 1d3c4ec commit 8a0e754

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

webrepl/webrepl.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ <h1>MicroPythonOS WebREPL</h1>
3535

3636
<div class="file-box" id="file-status"><span style="color:#707070">(file operation status)</span></div>
3737

38+
<div class="file-box">
39+
<input type="button" value="View Screen" onclick="window.open('/screenshot.bmp', '_blank'); return false;" />
40+
</div>
41+
3842
</div>
3943

4044
<br clear="both" />

0 commit comments

Comments
 (0)