Hallo,ich schon wieder
Habe eben die Geschwindigkeit so eingetragen wie
dettel das geschrieben hatte .
Wollte das hochladen,da kam diese Fehlermeldung
Arduino: 1.8.12 (Windows 10), Board: "Arduino Nano, ATmega328P (Old Bootloader)"
C:\Users\Steffen\Documents\Arduino\Tape
Counter\Tape
Counter.ino:103:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
};
^
C:\Users\Steffen\Documents\Arduino\Tape
Counter\Tape
Counter.ino:103:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
Tape
Counter:60:32: error: expected unqualified-id before numeric constant
#define SPEEDLOW 95,25 // Lowest belt speed A700 3,75" in mm.
^
C:\Users\Steffen\Documents\Arduino\Tape
Counter\Tape
Counter.ino:114:27: note: in expansion of macro 'SPEEDLOW'
volatile float speedLow = SPEEDLOW;
^~~~~~~~
Tape
Counter:59:33: error: expected unqualified-id before numeric constant
#define SPEEDMIDDLE 190,5 // Middle belt speed A700 7,5" in mm
^
C:\Users\Steffen\Documents\Arduino\Tape
Counter\Tape
Counter.ino:115:30: note: in expansion of macro 'SPEEDMIDDLE'
volatile float speedMiddle = SPEEDMIDDLE;
^~~~~~~~~~~
C:\Users\Steffen\Documents\Arduino\Tape
Counter\Tape
Counter.ino: In function 'void setup()':
C:\Users\Steffen\Documents\Arduino\Tape
Counter\Tape
Counter.ino:218:12: warning: implicit dereference will not access object of type 'volatile long int' in statement
EEPROM.get(EEPROM_COUNTER,
counter);
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\Steffen\Documents\Arduino\Tape
Counter\Tape
Counter.ino:221:12: warning: implicit dereference will not access object of type 'volatile float' in statement
EEPROM.get(EEPROM_METER,
counterMeters);
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\Steffen\Documents\Arduino\Tape
Counter\Tape
Counter.ino:224:12: warning: implicit dereference will not access object of type 'volatile float' in statement
EEPROM.get(EEPROM_REALTIME,
counterSeconds);
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\Steffen\Documents\Arduino\Tape
Counter\Tape
Counter.ino: In function 'void Save
Counter()':
C:\Users\Steffen\Documents\Arduino\Tape
Counter\Tape
Counter.ino:304:12: warning: implicit dereference will not access object of type 'const volatile long int' in statement
EEPROM.put(EEPROM_COUNTER,
counter);
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\Steffen\Documents\Arduino\Tape
Counter\Tape
Counter.ino:306:12: warning: implicit dereference will not access object of type 'const volatile float' in statement
EEPROM.put(EEPROM_METER,
counterMeters);
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\Steffen\Documents\Arduino\Tape
Counter\Tape
Counter.ino:308:12: warning: implicit dereference will not access object of type 'const volatile float' in statement
EEPROM.put(EEPROM_REALTIME,
counterSeconds);
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\Steffen\Documents\Arduino\Tape
Counter\Tape
Counter.ino: In function 'void WriteOledRealTime(long int)':
C:\Users\Steffen\Documents\Arduino\Tape
Counter\Tape
Counter.ino:693:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
(secs < 0) ? SecondsToString(buf, secs, "-%01ld*%02ld\"%02ld") : SecondsToString(buf, secs, " %01ld*%02ld\"%02ld");
^
C:\Users\Steffen\Documents\Arduino\Tape
Counter\Tape
Counter.ino:693:115: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
(secs < 0) ? SecondsToString(buf, secs, "-%01ld*%02ld\"%02ld") : SecondsToString(buf, secs, " %01ld*%02ld\"%02ld");
^
exit status 1
expected unqualified-id before numeric constant
Dieser Bericht wäre detaillierter, wenn die Option
"Ausführliche Ausgabe während der Kompilierung"
in Datei -> Voreinstellungen aktiviert wäre.
Kann damit jemand was anfangen,der mehr Grundkenntnisse vom PC hat,als ich
Habe wieder alles so eingetragen,wie vorher,kommt aber immer dieselbe Fehlermeldung.
Also so einfach scheint das nicht zu gehen,die Geschwindigkeiten auszutauschen
Steffen