To connect a fan on a robot-hat v5

Hi,

Is anybody has a python code to plug a 5V PWM fan on the port M1 on the robot-hat V5

Thks

Sorry we don’t have it.