I cannot begin to tell you how much I hate your code layout. It seems to be designed to make it hard to read.
Here it is tidied up, auto-formatted and in code tags.
int led = 13;
const int bluetooth = 11;
int ledState = LOW; // ledState used to set the LED
long previousMillis = 0;
long interval = 0;
int lamp = 12;
void setup()
{
pinMode(led, OUTPUT);
pinMode(lamp, OUTPUT);
pinMode(bluetooth, OUTPUT);
}
void loop()
{
digitalWrite(bluetooth, HIGH);
unsigned long currentMillis = millis();
if(currentMillis - previousMillis > interval)
{
previousMillis = currentMillis;
if (ledState == LOW)
{
ledState = HIGH;
}
else
{
ledState = LOW;
}
digitalWrite(bluetooth, ledState);
}
digitalWrite(led, HIGH);
delay(5000);
digitalWrite(led, LOW);
delay(5000);
digitalWrite(lamp, HIGH);
delay(5000);
digitalWrite(lamp, LOW);
delay(5000);
}