Had to change to SW TX then it works....well sort of. The I2C reads the compass and the data is stored in the array and tehn transmitted....however the OSD compass heading displays garbage (643, 888,...
Type: Posts; User: Seahound1; Keyword(s):
Had to change to SW TX then it works....well sort of. The I2C reads the compass and the data is stored in the array and tehn transmitted....however the OSD compass heading displays garbage (643, 888,...
Thanks for the reply. Just tried it and it does not work. May have to try a short bit of code to see if I can display the heading on a LCD using the I2C routine with out all the other stuff. You...
Code as requested....basically it is generating GPS sentence, and using a I2C compass to populate the heading information in the sentence.....it works fine on the 16f877a. Got a problem with space on...
Yep the TX works fine....tried putting the I2C connections on different pins, but no dice.
Wonder if some one has used the 16F1847. I am trying to get the USART and I2C working at the same time. The code comes from 16F877a that I adapted which worked. But I can not get it to work on the...
Can anyone help...
I am trying to get a 12F675 to respond to a serial in command. I am transmitting data to a servo serial controller using a 16F877a....that works fine. The 16f887a converts...
You're right there is something else going on....turned the power off and back on and now it's not working again! trying to think of what I did the first time I got it working.
The code has the checksum calculation in it....but I have cracked it!
For some reason I don't understand ....not unusual tho......if the Array is constructed the other way around.....
Tried that too....just testin to see if I can split the Array....send upto 48 then insert dec3 heading and then send the remainder of the string....see if that works....worth a try....starting to...
I tried to use other modifiers as well...but then saw they can only be used in the send statement ...Serout2 ( #heading) which converts the heading into a set of ASCII characters. Tried this...
Let me give it a whirl and see.....
Just tried it and it doesn't work...but great idea though...thanks
Yes you are right.....sorry I maybe didn't make it very clear. The protocol for the OSD is that it must see the other characters in the array (as per below) for it even to respond. According to the...
There is very little in terms of documentation (remzibi 3DR)....but there is a GPS simulator (happykillmore.com) incorporated into the config software which generates standard NMEA GPS sentences, for...
Yep tried that....the OSD only seems to respond to stuff if it is in inverted commas.....am I missing something here? ASCII is transmitted as data.....the inverted commas are only there to tell the...
Thanks for the reply. I have set the variable as a word. But also tried creating new array elements
WPT_array[47]=Dec_off Dig 0+"0"
WPT_array[48]=","
WPT_array[49]= course1 +"0"
WPT_array[50]=...
Hi Need some help please.
The problem....I have an OSD and it won't dipslay without a GPS data sentence. So thought no big deal I will creat my own, which I have done. The display does work now,...
I could not get the HSERIN to work....probably timing and RCV stack overflowing. I can't see how I can use the interupt because I don't want to interupt the program.....the motor/thruster commands...
Understood thanks ref the HSERIN....I will give it a try. The strange thing is it works fine on the surface control unit. The other thing is I am using RS485 chips directly.
Will give it a try and...
Yes the "modedefs.bas" has been included. Sorry I don't get the comment about hardware ports?
The LCD stuff is in there jsut so that I can see what is going on. If the Serin is removed (commented...
I am using 2 16F887a's to communicate data via RS485 in an ROV project. Sending data from the ROV to the surface works fine, but I can't get the ROV to recieve data for the light switch command (I...