Pare che ti sia scordato una parentesi. Allega tutto il codice che usi (file .h, file .cpp e file .ino).