Black battery wire to GND, red battery wire to VUSB. The wires soldered into the back side of the JST connector where the battery plugs into the PCB. There's a fuel gauge in the circuit, but I think that's just for charging. I used a modified USB cable so that the ground and V+ from the computer is not connected, only the data lines are connected. My PCB was designed with a USB connector on it for charging the battery, so I provide the USB power there, until I get the board redesigned.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Black battery wire to GND, red battery wire to VUSB. The wires soldered into the back side of the JST connector where the battery plugs into the PCB. There's a fuel gauge in the circuit, but I think that's just for charging. I used a modified USB cable so that the ground and V+ from the computer is not connected, only the data lines are connected. My PCB was designed with a USB connector on it for charging the battery, so I provide the USB power there, until I get the board redesigned.