Search Results - MEL PICBASIC Forum


Search:

Type: Posts; User: Seahound1; Keyword(s):

Search: Search took 0.00 seconds.

  1. Replies
    6
    Views
    7,313

    Re: 16F1847 Usart and I2C

    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,...
  2. Replies
    6
    Views
    7,313

    Re: 16F1847 Usart and I2C

    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...
  3. Replies
    6
    Views
    7,313

    Re: 16F1847 Usart and I2C

    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...
  4. Replies
    6
    Views
    7,313

    Re: 16F1847 Usart and I2C

    Yep the TX works fine....tried putting the I2C connections on different pins, but no dice.
  5. Replies
    6
    Views
    7,313

    16F1847 Usart and I2C

    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...
  6. Replies
    0
    Views
    2,393

    Serin and 12f675

    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...
  7. Replies
    18
    Views
    12,788

    Re: Array and ASCII

    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.
  8. Replies
    18
    Views
    12,788

    Re: Array and ASCII

    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.....
  9. Replies
    18
    Views
    12,788

    Re: Array and ASCII

    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...
  10. Replies
    18
    Views
    12,788

    Re: Array and ASCII

    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...
  11. Replies
    18
    Views
    12,788

    Re: Array and ASCII

    Let me give it a whirl and see.....

    Just tried it and it doesn't work...but great idea though...thanks
  12. Replies
    18
    Views
    12,788

    Re: Array and ASCII

    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...
  13. Replies
    18
    Views
    12,788

    Re: Array and ASCII

    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...
  14. Replies
    18
    Views
    12,788

    Re: Array and ASCII

    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...
  15. Replies
    18
    Views
    12,788

    Re: Array and ASCII

    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]=...
  16. Replies
    18
    Views
    12,788

    Array and ASCII

    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,...
  17. Replies
    7
    Views
    4,379

    Re: Serin general question

    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...
  18. Replies
    7
    Views
    4,379

    Re: Serin general question

    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...
  19. Replies
    7
    Views
    4,379

    Re: Serin general question

    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...
  20. Replies
    7
    Views
    4,379

    Serin general question

    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...
Results 1 to 20 of 20