From 71d3a816abeea11ebc92a4e7a91bf24fa1ff8a40 Mon Sep 17 00:00:00 2001 From: GHOSCHT <31184695+GHOSCHT@users.noreply.github.com> Date: Fri, 9 Jul 2021 12:34:21 +0200 Subject: [PATCH] Add knob to project --- Dashboard/assets/Knob.svg | 36 ++++++++++++++++++++++++++++++++++++ Dashboard/src/App.tsx | 4 +++- 2 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 Dashboard/assets/Knob.svg diff --git a/Dashboard/assets/Knob.svg b/Dashboard/assets/Knob.svg new file mode 100644 index 0000000..5270f79 --- /dev/null +++ b/Dashboard/assets/Knob.svg @@ -0,0 +1,36 @@ + diff --git a/Dashboard/src/App.tsx b/Dashboard/src/App.tsx index b56e8ba..c618ac4 100644 --- a/Dashboard/src/App.tsx +++ b/Dashboard/src/App.tsx @@ -1,5 +1,6 @@ import React from "react"; import SerialPort from "serialport"; +import Knob from "../assets/Knob.svg"; const App = () => { const port = new SerialPort("COM5", { @@ -18,7 +19,8 @@ const App = () => { return (