"sDPlay does not name a type" error

const int lm35 = A3;
float voltaj_deger = 0;
int sicaklik = 0;
int gelen_veri = 0;
#include <LiquidCrystal.h>
LiquidCrystal lcd(13, 12, 5, 4, 3, 2);
#define LCD_LIGHT_PIN 6
#include <SimpleSDAudio.h>
void setup()
{
pinMode(LCD_LIGHT_PIN, OUTPUT);
digitalWrite(LCD_LIGHT_PIN, HIGH);
lcd.begin(16, 2);}

SdPlay.setSDCSPin(4);

if (!SdPlay.init(SSDA_MODE_FULLRATE | SSDA_MODE_MONO | SSDA_MODE_AUTOWORKER))
{
while(1);
}
if(!SdPlay.setFile(“deneme.wav”))
{
while(1);
}

}
void loop()
{

{
gelen_veri = analogRead(lm35);
voltaj_deger = (gelen_veri / 1023.0) * 5000;
sicaklik = voltaj_deger / 10.0;
lcd.clear();
lcd.home();
lcd.print(“SICAKLIK=”);
lcd.setCursor(-54, 1);
lcd.print(sicaklik);
lcd.print(“C”);
delay(1000);
}

{
SdPlay.play();
while(!SdPlay.isStopped();{
}
}

i’ve got the error “sDPlay does not name a type” when ı compile the source above

sDPlay

C++ (Arduino's language) is case sensitive. sDPlay does not equal SdPlay.

I don't see sDPlay in the code that you posted. Can you please post the entire text of the error message. That will have a clue as to where to look.

i got ss error

The error that you posted was not the error that you really got so I wasted my time trying to answer your question. Then you want me to download a picture of the error from lord knows what kind of site. I will not risk my computer to help you.

Please read the "how to use the forum-please read' stickies to see how to properly post code and error messages.

There is example code that comes with that library. Do the examples compile? If so, what is different between the example code and yours?

EDIT The picture is not readable. See the "copy error messages" button. Use it and paste the error here in code tags (like the sticky says).

error :Arduino: 1.8.2 (Windows 10), Board: “Arduino/Genuino Uno”

_2si_kar___k:16: error: ‘SdPlay’ does not name a type

SdPlay.setSDCSPin(4);

^

_2si_kar___k:19: error: expected unqualified-id before ‘if’

if (!SdPlay.init(SSDA_MODE_FULLRATE | SSDA_MODE_MONO | SSDA_MODE_AUTOWORKER))

^

_2si_kar___k:23: error: expected unqualified-id before ‘if’

if(!SdPlay.setFile(“deneme.wav”))

^

_2si_kar___k:28: error: expected declaration before ‘}’ token

}

^

exit status 1
‘SdPlay’ does not name a type

This report would have more information with
“Show verbose output during compilation”
option enabled in File → Preferences.