Skip to content

Commit

Permalink
Update test1.js
Browse files Browse the repository at this point in the history
  • Loading branch information
openshwprojects committed Dec 31, 2024
1 parent 5b84278 commit 24c0119
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions test1.js
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -160,6 +175,10 @@ function drawPins(mouseX = null, mouseY = null) {
}

pins.forEach(pin => {
if(pin.name == "")
{
return;
}
let degrees = pin.angle;

ctx.save();
Expand Down

0 comments on commit 24c0119

Please sign in to comment.