Skip to content

Instantly share code, notes, and snippets.

@ecehan-civril
ecehan-civril / mikroc-blink-uygulamasi.c
Created Nov 4, 2021
Trudyo Geliştirme Kartı - Blink Uygulaması
View mikroc-blink-uygulamasi.c
@ecehan-civril
ecehan-civril / sesli-komut.ino
Created Sep 16, 2021
Google Assistant ile Sesli Komut
View sesli-komut.ino
#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>
// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = "********";
// Your WiFi credentials.
// Set password to "" for open networks.
char ssid[] = "*************";
char pass[] = "**************";
void setup()
@ecehan-civril
ecehan-civril / nodemcu-webserver.ino
Created Sep 10, 2021
Nodemcu ile Web Server Kullanımı
View nodemcu-webserver.ino
#include <ESP8266WiFi.h>
#include <ESP8266WebServer.h>
#include "DHT.h"
#define DHTTYPE DHT11 // DHT 11
/*Put your SSID & Password*/
const char* ssid = "******"; //Wifi adınız
const char* password = "******"; //wifi şifreniz
View 3kablolufan.ino
int pin = 7;
unsigned long duration;
void setup() {
Serial.begin(9600);
pinMode(pin, INPUT);
}
void loop()
{
View arduino-iot-cloud-sicaklik-nem-led.ino
#include "arduino_secrets.h"
/*
Sketch generated by the Arduino IoT Cloud Thing "Untitled"
https://create.arduino.cc/cloud/things/95af331e-a4ee-4612-9086-f4e9309455f5
Arduino IoT Cloud Variables description
The following variables are automatically generated and updated when changes are made to the Thing
CloudLight led;
@ecehan-civril
ecehan-civril / 4x4-keypad-hesap-makinesi.ino
Created May 15, 2021
4x4 keypad hesap makinesi uygulaması
View 4x4-keypad-hesap-makinesi.ino
#include <LiquidCrystal_I2C.h> //LCD ekran kütüphanesi
LiquidCrystal_I2C lcd(0x27, 16, 2); // Bu kodu kullanırken ekranda yazı çıkmaz ise 0x27 yerine 0x3f yazınız
#include <Keypad.h> //keypad kütüphanesi
const byte ROWS = 4; //satır
const byte COLS = 4; //sutun
char keys [ROWS] [COLS] = {
{'1', '2', '3', '+'},
View 4x4-keypad-kullanimi.ino
#include <Keypad.h>
const byte ROWS = 4; //satır
const byte COLS = 4; //sutun
char buton;
char keys [ROWS] [COLS] = {
{'1', '2', '3', 'A'},
{'4', '5', '6', 'B'},
{'7', '8', '9', 'C'},
View mpu-teapot-uygulamasi.ino
// I2C device class (I2Cdev) demonstration Arduino sketch for MPU6050 class using DMP (MotionApps v2.0)
// 6/21/2012 by Jeff Rowberg <jeff@rowberg.net>
// Updates should (hopefully) always be available at https://github.com/jrowberg/i2cdevlib
//
// Changelog:
// 2013-05-08 - added seamless Fastwire support
// - added note about gyro calibration
// 2012-06-21 - added note about Arduino 1.0.1 + Leonardo compatibility error
// 2012-06-20 - improved FIFO overflow handling and simplified read process
// 2012-06-19 - completely rearranged DMP initialization code and simplification
View ping-pong-oyunu.ino
#include <SPI.h>
#include <Wire.h>
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>
#define UP_BUTTON 2
#define DOWN_BUTTON 3
const unsigned long PADDLE_RATE = 33;
const unsigned long BALL_RATE = 16;
View vumetre-neopixel.ino
#include <Adafruit_NeoPixel.h>
#ifdef __AVR__
#include <avr/power.h>
#endif
int ara_deger,ara_deger2;
// aradeger2 0 ve 1 olamaz
float hassasiyet = 0.2; // 0 ile 1 arasında bir float değer girin örnek 0.444 bu değer analogtan okuduğumuz değeri yumuşak bi şekilde yansıtmak için