Hackscribble:
Hi RayThank you for your reply
Can you modify your post so the code is in code tags - use the "#" button above the smileys. It makes it much easier for people to read.
- I don't understand what '#' button does sorry?
And most importantly, have you tried compiling and running the program? What happens? What help exactly are you looking for?
- I have compiled and uploaded my code with no problems and i can connect to the Bluetooth modem from my phone but nothing is displayed or printed. A guy told me that i have declared the hardware part of the serial but not the software but i am not sure what this means?
For example, I guess it won't compile because the following part of your code, at least, has problems.
- I have a previous piece of code from befour i added the boundaries but now i'm still getting the same problem, what may sound confusing is that i once had it working but then don't remember changing any of the code for it to stop working.
If you search in the Reference section of this website for information about the "if" statement, you should find some examples that could help you to fix this part. I think I understand what you are trying to do, but the code isn't valid as it stands.
One other question for now. You are using a GPS library and software serial to communicate between the Arduino and the GPS. Have you got any example sketches that came with the libraries that will let you test if the link to the GPS is working ok, for example by printing out the data it sends to the serial monitor (i.e. keep the bluetooth to your phone out of the equation for now)?
- Yes i am but at the beginning of my project i already checked those connections and there was no problems, i then managed to merge my two pieces of code and information was displayed on my phone, i then left my code for 3 week and came back and it stopped displaying information to my phone.
Regards
Roy