Hi, @sanduwr Welcome to the forum.
Can you please post your code and circuit diagram.
Thanks.. Tom....