-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GPS Test Code And LCD #30
Comments
You can't use Serial and FastSerial in the same sketch. Pick one. = Mike On Mar 9, 2012, at 5:52 PM, beschmid12 wrote:
|
As far as I know, it's only using FastSerial. Why would pulling in the LCD code cause it to use the Serial driver? The LCD should only use the parallel I/O. |
Don't look at me 8). There's no LCD driver in the APM repo that I know of, so I'm not even sure which "LCD" driver you're using. = Mike On Mar 10, 2012, at 3:10 PM, beschmid12 wrote:
|
I guess I'll rummage around a little. I'm using the standard LCD code that came with the Arduino compiler distribution. There's probably a header getting pulled in that's confusing things. It also seems to work OK with the test code I used for the compass. There must be an interaction when Serial1 gets set up for the GPS. |
Hi, I am facing the same issue. Can you tell me the solution to this problem. Thanks a lot, my email is: [email protected]. Hope you do;) |
Does anyone know why I can't build a test program to read the GPS from the APM and output it to a LCD? The code will work fine if I compile for Serial0 and print the data, but if I try to build for outputting to a LCD, I get errors:
core.a(HardwareSerial.cpp.o): In function
__vector_36': C:\cygwin\home\Ben\work\arduino-0023\hardware\arduino\cores\arduino/HardwareSerial.cpp:140: multiple definition of
__vector_36'myAPM_App.cpp.o:C:\DOCUME
1\Ben\LOCALS1\Temp\build1258663894708907404.tmp/myAPM_App.cpp:33: first defined herecore.a(HardwareSerial.cpp.o): In function
__vector_25': C:\cygwin\home\Ben\work\arduino-0023\hardware\arduino\cores\arduino/HardwareSerial.cpp:93: multiple definition of
Serial1'myAPM_App.cpp.o:(.bss.Serial1+0x0): first defined here
c:/cygwin/home/ben/work/arduino-0023/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/../../../../avr/bin/ld.exe: Warning: size of symbol `Serial1' changed from 18 in myAPM_App.cpp.o to 19 in core.a(HardwareSerial.cpp.o)
The text was updated successfully, but these errors were encountered: