Author Options:

Expected unqualified-id before 'void' Answered

I m facing a problem in this code during implementation

i m using wemos d1 r1 controller board.

i m attaching a code.

the error is

webtwit:52:1: error: expected unqualified-id before 'void'

void setup() {


webtwit:49:16: error: expected constructor, destructor, or type conversion before ';' token



exit status 1 expected unqualified-id before 'void'

please help me to resolve this query


The forums are retiring in 2021 and are now closed for new topics and comments.