Kullanıcı1233
Kıdemli Üye
- 19 Tem 2011
- 4,371
- 12
I've been taking some arduino classes in reel life, and i wanna share these with you. My first lesson is turn the led light on.
Here is the video:
[ame]https://www.youtube.com/watch?v=0kgOV_ZJz5I[/ame]
#include <Arduino.h>
#include <Wire.h>
#include <SoftwareSerial.h>
double angle_rad = PI/180.0;
double angle_deg = 180.0/PI;
**** setup(){
pinMode(2,OUTPUT);
}
**** loop(){
digitalWrite(2,1);
_loop();
}
**** _delay(float seconds){
long endTime = millis() + seconds * 1000;
while(millis() < endTime)_loop();
}
**** _loop(){
}
Original: https://www.turkhackteam.org/elektr...rduino-egitimleri-1-led-yakma-rozzzy-tmk.html
Here is the video:
[ame]https://www.youtube.com/watch?v=0kgOV_ZJz5I[/ame]
#include <Arduino.h>
#include <Wire.h>
#include <SoftwareSerial.h>
double angle_rad = PI/180.0;
double angle_deg = 180.0/PI;
**** setup(){
pinMode(2,OUTPUT);
}
**** loop(){
digitalWrite(2,1);
_loop();
}
**** _delay(float seconds){
long endTime = millis() + seconds * 1000;
while(millis() < endTime)_loop();
}
**** _loop(){
}
Original: https://www.turkhackteam.org/elektr...rduino-egitimleri-1-led-yakma-rozzzy-tmk.html
Translator: @R4V3N