Wiring a generic laser module

@Sammypants It’s a bit hard to see, but here goes. The connector in the lower left is black =ground, white = pwm and red - 12v. Correct?

What is the connector in the upper left? That is, how is it marked?