yes

Dependencies:   SparkfunAnalogJoystick

Files at this revision

API Documentation at this revision

Comitter:
thevic16
Date:
Thu Jul 29 19:19:16 2021 +0000
Parent:
5:9f30f0a6dc76
Commit message:
Logica proyecto funcionando;

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 9f30f0a6dc76 -r 7c987ba78aa3 main.cpp
--- a/main.cpp	Fri Jul 23 03:05:12 2021 +0000
+++ b/main.cpp	Thu Jul 29 19:19:16 2021 +0000
@@ -305,7 +305,7 @@
 // Función para leer valores del joystick y ejecutar sus comandos.
 void Thread5_Joystick()
 {
-    SparkfunAnalogJoystick JoyStick(A1,A0,PE_0);
+    SparkfunAnalogJoystick JoyStick(A0,A1,PE_0);
     float X;
     float Y;
     while(1)