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
#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 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); |
NewerOlder