Difference in pwm brightness depending on the board

Is the wiring correct?