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 trig_Pin 8 | |
#define echo_Pin 9 | |
#define buzzer_Pin 10 | |
long mesafe = 0; | |
long sure = 0; | |
int gosterge = 0; | |
void setup() { | |
for (int i = 2; i< 7; i++) | |
{ | |
pinMode(i, OUTPUT); |
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
#include <dmoto.h> | |
dmoto cizgi; | |
void setup() { | |
Serial.begin(9600); | |
cizgi.pinSet(); | |
} |
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 joyx A0 | |
#define joyy A1 | |
#define buton_a 2 | |
#define buton_b 3 | |
#define buton_c 4 | |
#define buton_d 5 | |
#define buton_e 6 | |
#define buton_f 7 | |
#define joy_buton 8 |
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 joy_x A0 | |
#define joy_y A1 | |
#define led_x_1 10 | |
#define led_x_2 11 | |
#define led_x_3 12 | |
#define led_x_4 13 | |
#define led_y_1 A2 | |
#define led_y_2 A3 | |
#define led_y_3 A4 | |
#define led_y_4 A5 |
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
void setup() | |
{ | |
pinMode(0, OUTPUT); | |
pinMode(1, OUTPUT); | |
} | |
void loop() | |
{ | |
digitalWrite(0, HIGH); |
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
#include <LCD5110_Basic.h> | |
LCD5110 myGLCD(8,9,10,11,12); | |
extern uint8_t logo2[]; | |
void setup() | |
{ | |
myGLCD.InitLCD(); | |
} |
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
#include <LCD5110_Graph.h> | |
LCD5110 myGLCD(8,9,10,11,12); | |
extern uint8_t SmallFont[]; | |
int y; | |
void setup() |
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
int ledPinleri[] = {2,3,4,5,6,7}; | |
void setup() { | |
for(int i=0;i<6;i++){ | |
pinMode(ledPinleri [i],OUTPUT); | |
} | |
} | |
void loop() { | |
for(int i=0;i<6;i++){ | |
digitalWrite(ledPinleri [i],HIGH); | |
delay(150); |
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
#include <LiquidCrystal_I2C.h> | |
LiquidCrystal_I2C lcd(0x27,16,2); // Bu kodu kullanırken ekranda yazı çıkmaz ise 0x27 yerine 0x3f yazınız !! | |
void setup() { | |
lcd.begin(); | |
} | |
void loop() { | |
lcd.setCursor(0,0); // İlk satırın başlangıç noktası |
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
#include <LiquidCrystal_I2C.h> | |
LiquidCrystal_I2C lcd(0x27,16,2); // Bu kodu kullanırken ekranda yazı çıkmaz ise 0x27 yerine 0x3f yazınız !! | |
void setup() { | |
lcd.begin(); | |
} | |
void loop() { | |
lcd.setCursor(0,0); // İlk satırın başlangıç noktası |
OlderNewer