Program Issues

Please look at the picture of a sketch and provide some insight why I am getting the error message. I really new at this.



Instead of posting a picture of a sketch which is really hard to read, it would be much better to copy and paste the sketch here where we can see it. Don't forget to use code tags.

I am having problems with this code. Can some one help I very new at this' I keep getting this error message

avr-g++: error: missing filename after '-o'

exit status 1
Error compiling.

This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.

// Pulse Monitor Test Script
int sensorPin = 0;
double alpha = 0.75;
int period = 100;
double change = 0.0;
double minval = 0.0;
void setup ()
Serial.begin (9600);
void loop ()
static double oldValue = 0;
static double oldChange = 0;

int rawValue = analogRead (sensorPin);
double value = alpha * oldValue + (1 - alpha) * rawValue;

Serial.print (rawValue);
Serial.print (",");
Serial.println (value);
oldValue = value;

delay (period);

The code compiles ok.

Der Sketch verwendet 4.140 Bytes (13%) des Programmspeicherplatzes. Das Maximum sind 30.720 Bytes.
Globale Variablen verwenden 214 Bytes (10%) des dynamischen Speichers, 1.834 Bytes für lokale Variablen verbleiben. Das Maximum sind 2.048 Bytes.