Created
October 28, 2019 08:09
-
-
Save RobolinkAkademi/b4cfd810069e760d0d9e89fecf0fb798 to your computer and use it in GitHub Desktop.
Arduino baslangic dersleri 4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define Ldr A0 | |
void setup() | |
{ | |
Serial.begin(9600); | |
} | |
void loop() | |
{ | |
int Ldr_deger = analogRead(Ldr); | |
Serial.print("Analog Deger = "); | |
Serial.println(Ldr_deger); | |
delay(250); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment