Skip to content

Commit

Permalink
Added other buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
jLynx committed Jan 2, 2024
1 parent edb0480 commit ff4a0e2
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/app/components/Controller/Controller.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,20 @@ export default function Controller() {
<div></div>
</div>
</div>
<div className="flex items-center justify-center gap-4">
<button
onClick={() => serial.write("button 6")}
className="w-16 h-16 bg-slate-400 text-white rounded"
>
DFU
</button>
<button
onClick={() => serial.write("reboot")}
className="w-16 h-16 bg-slate-400 text-white rounded"
>
Reboot
</button>
</div>

<button
className="p-2 bg-slate-400 text-white rounded"
Expand Down

0 comments on commit ff4a0e2

Please sign in to comment.