Advice on what function to use

Advice on what function to use:

#arduino