Syntax error with void setup and draw functions

Hi @vinnyvin,

Welcome to the forum.
At first glance, your code looks ok.

Maybe you can try to…

  • create a new empty sketch
  • check if you are in java mode

… and see if the issue is persistent.

If it persists you can maybe upload a screenshot which shows your PDE window and the error.

Cheers
— mnse