lower sample size

master
shark 6 years ago
parent e79169c498
commit 1492a4148d

@ -8,7 +8,7 @@ void setup() {
}
void loop() {
int ss = 100; // sample size for light sensor
int ss = 20; // sample size for light sensor
int average = 0;
for (int x = 0; x < ss; x++) {
average += analogRead(light) / 4;

Loading…
Cancel
Save