Pluck an open string and turn the tuning peg until the needle is in the middle.
Best in a quiet room, with the device close to the guitar.