Interfacing nodemcu with cat4101 to drive 10w rgb chip

Hi,

I'm having some trouble understanding the wiring schematics below. I'd like to use a nodemcu with the three cat4101 ICs and have the ability to change the color through a web interface or an external command using PWM through the GPIO/RX/TX pins of the Nodemcu. But how do i connect the GPIO pins? Am i correct to assume that i can replace the Zigbee module in figure 2 with the wifi functionality the ESP8266 provides?

The LEDs need to be provided with a constant current of 300ma per channel and according to the info on this instructable, i should use 1690 ohm resistors since i'd like to cap the incoming current at 300ma. Is that correct?

Figure 1

Figure2

Thank you for taking the time to read and or reply :slight_smile:

1690 ohm resistor will be hard to find, use 1k6 (or 2 3k3's in parallel?). But in reality to white-balance
the LEDs the variable resistance as in the circuit will allow trimming the individual brightnesses.

I'd make the fixed resistor 1k5 or so to limit the max current to a safe value, and maybe 2k2 or 4k7
trimmer resistors?

I wasn't really able to get the circuit to work so I've decided to go with led strips for my project. But thanks anyway for your reply MarkT!