coding conventions

This commit is contained in:
sam
2023-10-18 16:25:52 +02:00
parent ba6b829498
commit c7ea4f75c7

View File

@@ -90,16 +90,16 @@ async function readLoop() {
}
}
// Close the port
// Sluit de poort
async function disconnect() {
await reader.cancel();
await port.close();
console.log("Port is closed!");
}
function plotly(graph, array){
//plotly grafiek
function plotly(graph, dataArray){
Plotly.newPlot(graph, [{
y: array,
y: dataArray,
mode: 'lines',
line: {color: '#80CAF6'}
}]);