New user with a sketch issue

The code you didn't post doesn't have a setup function or a loop function.