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 obstacle; | |
float obs = 0; | |
void setup() | |
{ | |
Serial.begin(9600); | |
obstacle.pinSet(); | |
obstacle.Stop(); | |
} |
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 <SoftwareSerial.h> | |
#define RxD 7 //HC-05 Tx | |
#define TxD 8 //HC-05 Rx | |
SoftwareSerial blueToothSerial(RxD,TxD); | |
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
/* | |
* Bu tetris uygulaması https://github.com/AJRussell/Tiny-Tetris 'dan Faydalanılarak geliştirilmiştir. | |
* https://create.arduino.cc/projecthub/BADFEED/tetris-clone-with-oled-ssd1306-i2c-for-arduino-nano-uno-8d9395 ilgili linkten orjinal sürümüne gidebilirsiniz. | |
akademi.robolinkmarket.com | |
*/ | |
#include <Wire.h> |
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 JoyBut 2 | |
void setup() | |
{ | |
Serial.begin(9600); | |
pinMode(JoyX, INPUT); | |
pinMode(JoyY, INPUT); |
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 "U8glib.h" | |
U8GLIB_SSD1306_128X64 u8g(U8G_I2C_OPT_NONE | U8G_I2C_OPT_DEV_0); | |
char bufferX [20]; | |
char bufferY [20]; | |
char bufferZ [20]; | |
void setup() { | |
} | |
void loop() { |
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 RodeoBt; | |
char alinan; | |
void setup() { | |
Serial.begin(9600); | |
RodeoBt.pinSet(); | |
} | |
void loop() { | |
// alinan = '0'; | |
if (Serial.available() > 0) { // Checks whether data is comming from the serial port |
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> | |
RF24 Nrf(9, 10); | |
dmoto Rodeo; | |
const byte addresses[][6] = {"00001", "00002"}; | |
int received[11] = {}; | |
float ldrRemove = 0; | |
int Speed = 0; | |
void setup() { | |
Rodeo.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
#include <jlinker.h> | |
jlinker Joystick; | |
U8GLIB_SSD1306_128X64 u8g(U8G_I2C_OPT_NONE | U8G_I2C_OPT_DEV_0); | |
MPU6050 accelgyro; | |
int16_t ax, ay, az; | |
int16_t gx, gy, gz; | |
char bufferX [20]; | |
char bufferY [20]; | |
char bufferZ [20]; | |
int transmitted[] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; |
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 and Echo pin: | |
#define trigPin 2 | |
#define echoPin 3 | |
// Define variables: | |
long duration; | |
int distance; | |
void setup() { | |
// Define inputs and outputs | |
pinMode(trigPin, OUTPUT); | |
pinMode(echoPin, INPUT); |