Hi, @alvinchanccy Welcome to the forum.
Can you please post your code in code tags.
Can you please post a copy of your circuit, a picture of a hand drawn circuit in jpg, png? Hand drawn and photographed is perfectly acceptable. Please include ALL hardware, power supplies, component names and pin labels.
What is your power supply?
Thanks.. Tom..