Hello All, I am new here, and to Arduino and programming, I have been trying to compile some someftware.
I am having a problem compiling this code.
////////////////////////////////////////////////////////////
// SOUND TRIGGER
//////////////////////////////////////////////////////////// #ifdef ENABLE_SOUND_TRIGGER
soundVal = analogRead(SOUND_TRIGGER_ANALOG_PIN);
if (soundVal > SOUND_THRESHHOLD)
{
digitalWrite(CAMERA_FLASH_PIN, HIGH);
I am getting an error in the second line
Erroe:expected constructor, destructor, or type conversion before “=” token.
any ideas as to what is needed. Thanks Ernie