Error: Expected initializer before "void"

const int sensor = 0; const int ledRojo = 5; const int ledAzul = 6;

long miliVolts; long temperatura; int brillo

void setup() { //Serial.begin(9600); pinMode(ledRojo, OUTPUT); pinMode(ledAzul, OUTPUT);

}

void loop () { miliVolts = (analogRead (sensor) * 5000L) /1023; temperatura = miliVolts / 10;

brillo = map(temperatura, 10, 40, 0, 255); brillo = constrain(brillo, 0, 255);

analogWrite(ledRojo, brillo); analogWrite(ledAzul, 255-brillo);

}

You are missing a semicolon after the declaration of brillo