control a vibration motor with Jetson TX2

Hello everyone,

I am trying to control a vibration motor from a jetson tx2, the motor runs on 3v and draws .1A, I just want to control the on and off of the motor. I’ve seen several posts about PWM and GPIO post but nothing on TX2. Also, I want to integrate this with Ros, so, I am trying to figure out how to make it in Python/C code. I am new to jetson, so I know nothing. If anyone has a clue on how to do it can you please point me in the right direction.
Please, help me.

Hi, please refer to this topic first: [url]https://devtalk.nvidia.com/default/topic/1042470/?comment=5289037[/url]