void loop() {
// put your main code here, to run repeatedly:
}
compiler error message
BareMinimum:5: error: expected identifier before numeric constant
BareMinimum:5: error: expected ',' or '...' before numeric constant
BareMinimum:6: error: expected identifier before numeric constant
BareMinimum:6: error: expected ',' or '...' before numeric constant
BareMinimum:7: error: expected identifier before numeric constant
BareMinimum:7: error: expected ',' or '...' before numeric constant
BareMinimum.ino: In function 'void setup()':
BareMinimum:12: error: 'Sensor1.Averages::seconds' does not have class type
you cannot write it like so. RunningAverage seconds(60); is interpreted as a function prototype. You need a constructor in order to initialize the variables.