Kann mir jemand bei dem Upload helfen?

Hallo,

Ich will einen Code komplimieren und es funktioniert nicht.

Arduino: 1.8.13 (Windows 10), Board: "Arduino Nano, ATmega328P (Old Bootloader)"

C:\Users\Admin\Documents\Arduino\libraries\arduino-self-balancing-robot-master\PID_v1.cpp:45:6: error: prototype for 'void PID::Compute()' does not match any in class 'PID'

 void PID::Compute()

   ^~~

In file included from C:\Users\Admin\Documents\Arduino\libraries\arduino-self-balancing-robot-master\PID_v1.cpp:14:0:

C:\Users\Admin\Documents\Arduino\libraries\Arduino-PID-Library-master/PID_v1.h:29:10: error: candidate is: bool PID::Compute()

   bool Compute();            // * performs the PID calculation. it should be

     ^~~~~~~

C:\Users\Admin\Documents\Arduino\libraries\arduino-self-balancing-robot-master\PID_v1.cpp: In member function 'void PID::SetOutputLimits(double, double)':

C:\Users\Admin\Documents\Arduino\libraries\arduino-self-balancing-robot-master\PID_v1.cpp:132:8: error: 'ITerm' was not declared in this scope

   if(ITerm > outMax) ITerm= outMax;

    ^~~~~

C:\Users\Admin\Documents\Arduino\libraries\arduino-self-balancing-robot-master\PID_v1.cpp: In member function 'void PID::Initialize()':

C:\Users\Admin\Documents\Arduino\libraries\arduino-self-balancing-robot-master\PID_v1.cpp:158:4: error: 'ITerm' was not declared in this scope

  ITerm = *myOutput;

  ^~~~~

Mehrere Bibliotheken wurden für "PID_v1.h" gefunden

 Benutzt: C:\Users\Admin\Documents\Arduino\libraries\Arduino-PID-Library-master

 Nicht benutzt: C:\Users\Admin\Documents\Arduino\libraries\arduino-self-balancing-robot-master

exit status 1

Fehler beim Kompilieren für das Board Arduino Nano.

Dieser Bericht wäre detaillierter, wenn die Option

"Ausführliche Ausgabe während der Kompilierung"

in Datei -> Voreinstellungen aktiviert wäre.

Kann mir jemand helfen??!

Danke

Upload, Arduino
Arduino upload funktioniert nicht mehr?

Hallo,

ich kann keine Programme mehr auf den Arduino hochladen. Egal was ich mache kommt diese Fehlermeldung:

Arduino: 1.8.7 (Mac OS X), Board: "Arduino/Genuino Uno"

Der Sketch verwendet 930 Bytes (2%) des Programmspeicherplatzes. Das Maximum sind 32256 Bytes.

Globale Variablen verwenden 9 Bytes (0%) des dynamischen Speichers, 2039 Bytes für lokale Variablen verbleiben. Das Maximum sind 2048 Bytes.

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x00

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x00

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x00

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x00

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00

Problem beim Hochladen auf das Board. Hilfestellung dazu unter http://www.arduino.cc/en/Guide/Troubleshooting#upload.

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x00

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x00

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00

Problem beim Hochladen auf das Board.

Computer, Technik, Elektronik, Upload, programmieren, Arduino, Bootloader, C (Programmiersprache)

Meistgelesene Fragen zum Thema Upload