From 24c0119f6f2422114003d80c5c610333159f2215 Mon Sep 17 00:00:00 2001 From: Tester23 <85486843+openshwprojects@users.noreply.github.com> Date: Tue, 31 Dec 2024 04:06:39 +0100 Subject: [PATCH] Update test1.js --- test1.js | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/test1.js b/test1.js index d69ec5d..1d90756 100644 --- a/test1.js +++ b/test1.js @@ -5,6 +5,21 @@ let boards = []; boards = [ { + name: "WemosD1-CB3S", + chip: "BK7231N", + image: "https://i.imgur.com/SCdHefw.png", + leftPins: ["P23", "GND", "VUSB", "P20", "P21", "P22", + "", "P23", "P22", "P23", "GND", "3.3V", "EN", "CEN", "GND", "Vin"], + rightPins: ["P14", "P7", "P8", "P1", "P0", "3.3V", "GND", "P26", + "", "P24", "P6", "P9", "P10", "P11", "GND", "3.3V"], + leftStartX: 384, + rightStartX: 150, + leftStartY: 59, + leftStepY: 20, + rightStartY: 67, + rightStepY: 20 + }, + { name: "CBU", chip: "BK7231N", image: "https://i.imgur.com/UpzQer7.png", @@ -160,6 +175,10 @@ function drawPins(mouseX = null, mouseY = null) { } pins.forEach(pin => { + if(pin.name == "") + { + return; + } let degrees = pin.angle; ctx.save();