hrithik18k/rc-car-esc-xiao-20261025

A Seeed XIAO ESP32-C3 carrier board interfaces 3.3V PWM outputs to an ESC and steering servo, with 220Ω series/100kΩ pulldown resistors, SS14 5V BEC/USB isolation, and power filtering capacitors.

Version
1.0.1
License
unset
Stars
0

reproduce-connectivity.mjs

import { PcbConnectivityMap } from './node_modules/circuit-json-to-connectivity-map/dist/index.js';
const point=(x,y,layer)=>({x,y,route_type:'wire',width:.2,layer});
for (const layer of ['top','bottom']) {
 const m=new PcbConnectivityMap([{type:'pcb_trace',pcb_trace_id:'a',route:[point(-1,0,'top'),point(1,0,'top')]},{type:'pcb_trace',pcb_trace_id:'b',route:[point(0,-1,layer),point(0,1,layer)]}]);
 console.log(JSON.stringify({secondLayer:layer,expected:layer==='top',actual:m.areTracesConnected('a','b')}));
}