HAHA! commit

This commit is contained in:
gauthiier
2018-11-13 08:10:15 +01:00
parent f667b9033a
commit a455c7c3d0
23 changed files with 6362 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
const int pin_lux_0 = A1;
const int ADC_AVG_RES = 4;
void setup() {
analogReadAveraging(ADC_AVG_RES);
Serial.begin(115200);
pinMode(pin_lux_0, INPUT);
}
void loop() {
int l = analogRead(pin_lux_0);
Serial.println(l);
delay(50);
}