diff --git a/3axis.ino b/3axis.ino new file mode 100644 index 0000000..553e4c1 --- /dev/null +++ b/3axis.ino @@ -0,0 +1,28 @@ +//Καθορισμός μεταβλητών +const int xpin = A0; +const int ypin = A1; +const int zpin = A2; + +//Ρυθμός ροής δεδομένων +void setup() +{ + Serial.begin(9600); +} + +//Βρόγχος ανάγνωσης και εκτύπωσης των τιμών από το επιταχυνσιόμετρο +void loop() +{ + int x = analogRead(xpin); + delay(50); + int y = analogRead(ypin); + delay(50); + int z=analogRead(zpin); + +Serial.print(x); +Serial.print("\t"); +Serial.print(y); +Serial.print("\t"); +Serial.print(z); +Serial.print("\n"); + +} diff --git a/Gyroscope.pptx b/Gyroscope.pptx new file mode 100644 index 0000000..3f1c182 Binary files /dev/null and b/Gyroscope.pptx differ diff --git a/PLOT.mp4 b/PLOT.mp4 new file mode 100644 index 0000000..4de128a Binary files /dev/null and b/PLOT.mp4 differ diff --git a/SCHEMATIC.mp4 b/SCHEMATIC.mp4 new file mode 100644 index 0000000..a6cf109 Binary files /dev/null and b/SCHEMATIC.mp4 differ