If you’re using the Edgent example sketch, then I’d suggest that you read this…
and this…
I’d suggest that you search the forum for those sort of answers.
Pete.