Hallo zusammen,
ich versuche verzweifelt mein GPS am NanoWii ans laufen zu bekommen.
Jedes mal wenn ich:
/* GPS using a SERIAL port
only available on MEGA boards (this might be possible on 328 based boards in the future)
if enabled, define here the Arduino Serial port number and the UART speed
note: only the RX PIN is used, the GPS is not configured by multiwii
the GPS must be configured to output GGA and RMC NMEA sentences (which is generally the default conf for most GPS devices)
at least 5Hz update rate. uncomment the first line to select the GPS serial port of the arduino */
#define GPS_SERIAL 2 // should be 2 for flyduino v2. It's the serial port number on arduino MEGA
#define GPS_BAUD 115200
einstellen will Kommt:
Binäre Sketchgröße: 32.260 Bytes (von einem Maximum von 28.672 Bytes)
processing.app.debug.RunnerException: Sketch zu groß; siehe
http://www.arduino.cc/en/Guide/Troubleshooting#size für Tipps zum Verkleinern.
Das hier habe ich über den Link gefunden:
How can I reduce the size of my sketch?
The ATmega168 chip on the Arduino board is cheap, but it has only 16 Kb of program code, which isn't very much (and 2 Kb is used by the bootloader).
If you're using floating point, try to rewrite your code with integer math, which should save you about 2 Kb. Delete any #include statements at the top of your sketch for libraries that you're not using.
Otherwise, see if you can make your program shorter.
We're always working to reduce the size of the Arduino core to leave more room for your sketches.
Nur verstehe ich nicht ganz was ich löschen soll, ich habe einfach mal zum testen die Zeilen mit den Befehlen gelöscht die ich selber nicht nutze, jedoch wird der Sketch nicht kleiner.
Kann mir jemand sagen was ich da genau machen muss?
Gruß,
Daniel