Search Results - MEL PICBASIC Forum


Search:

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

Page 1 of 4 1 2 3 4

Search: Search took 0.00 seconds.

  1. Re: Compiler/assembler problems preventing a simple change

    I believe PBP 2.60a needs an older MPASM to work properly. It needs MPLAB v8.15a as the latest to use.
  2. Replies
    2
    Views
    3,516

    Re: 12f675 GPIO Problem. No output on GPIO.2

    Ah no it isn't.

    LED current limit resistor missing on that led, it overstretched the output capability. Fixed and works as wanted.
  3. Replies
    2
    Views
    3,516

    Re: 12f675 GPIO Problem. No output on GPIO.2

    Sorry guys, no problem with code.

    Duff track on protoboard !
  4. Replies
    2
    Views
    3,516

    12f675 GPIO Problem. No output on GPIO.2

    Seems so simple I'm missing something ! Using a protoboard with leds on each output then Relay2 doesn't work.




    ;*****************************************************
    ; ...
  5. Replies
    10
    Views
    5,450

    Re: owout not working on 16f77 ? (hangs)

    Not used it before but according to PBP manual shouldn't the OWOUT mode be set as say %010 ? Send reset pulse after data.

    OWOUT PORTB.2,%010 , [$CC, $4E, 0, 0, %01111111]
  6. Re: How do I discern Maidenhead Locator from GPS lat long info.

    Hi Henrik,

    I've been doing some more reading regarding the NMEA string from the Rockwell datasheets. (19 pages in one 142 in other !)

    I've discovered two choice bits.

    (1.) The string is...
  7. Re: How do I discern Maidenhead Locator from GPS lat long info.

    Hi Henrik,

    Quite a bit to digest there. Good food for thought. Thanks.

    I missed the fact that the custom characters for the medium digits was constantly loading in the loop. I've moved that...
  8. Re: How do I discern Maidenhead Locator from GPS lat long info.

    Hi Darrel,

    Hmmm, looking at the various timings I don't see how this can be done.

    The NMEA string is output at the same point, the epoch of the PPS pulse, so the code is executing the string...
  9. Replies
    15
    Views
    10,797

    Re: LED ON and OFF with 2 Push button switches

    LED CON 0 doesn't clearly map the LED to a pin.

    LED VAR GPIO.0 does. Just easier to understand.


    I like to put a pinout connection diagram for the chip as a reminder what is connected to...
  10. Re: How do I discern Maidenhead Locator from GPS lat long info.

    This is the full code with the Ints active but it's just updating first character.



    ;
    ; GPS NMEA Display code with GPSDO monitoring
    ;
    ; PIC16F876A ...
  11. Re: How do I discern Maidenhead Locator from GPS lat long info.

    Redesign completed. New board made where all pins are accessible and pads for option of pullups/down resistors.

    I have altered the software to use HSERIN and HSEROUT and all is well at the moment....
  12. Re: How do I discern Maidenhead Locator from GPS lat long info.

    Hmm, guess which pins are not catered for on pcb ?

    Redesign methinks. :D
  13. Re: How do I discern Maidenhead Locator from GPS lat long info.

    That was it.

    Using "DEC4 latsecs/lonsecs" in the gps string and changing to Word size variables uses the 4 decimal places.

    Interestingly using battery power for the unit, I got exactly the same...
  14. Re: How do I discern Maidenhead Locator from GPS lat long info.

    It's between DEC4 in gps string and Aint in locator code.

    I can get the display right but not the locator using DEC4 in the gps string and DIGs in the display LCDOUT.

    I can get the locator...
  15. Re: How do I discern Maidenhead Locator from GPS lat long info.

    Now this is interesting.

    If I mess with the size of any 'secs' variables it screws everything up. I can get Lat to 4 decimal places but not Long, it still goes to zero.

    Right now I put the...
  16. Re: How do I discern Maidenhead Locator from GPS lat long info.

    Hmmm no. I screwed that up somehow.

    I realised it was saving DEC2 in the gps string so it would not be any different, so I changed it to DEC4 for now.

    I changed the DEC2 in display line to...
  17. Re: How do I discern Maidenhead Locator from GPS lat long info.

    Again you come to my aid Darrel. :D

    I had limited the output by declaring the lat/lon secs as byte. Changed them to word and it becomes much more stable now. Datasheet says the decimal part is...
  18. Replies
    4
    Views
    3,138

    Re: Self powered PIC, app note. How to do.

    Hi Demon,

    It came from the Hints n Tips pdf in the other post here. Lots of good stuff in it.
  19. Re: How do I discern Maidenhead Locator from GPS lat long info.

    That was it Darrel. I had aliased the wrong variables to save renaming.

    Gives correct code at 'back yard' 90% of time. Why 90% ? Well, it faces North and the number of satellites it will lock...
  20. Re: How do I discern Maidenhead Locator from GPS lat long info.

    Hmmm, I've transferred the code over into my program but I must have done something wrong as the locator is incorrect.

    I'm getting 10 and kd instead of 03 and kh which is correct at back of house....
  21. Re: How do I discern Maidenhead Locator from GPS lat long info.

    Wow, wow and WOW. What can I say? That is your usual brilliant stuff.

    I use DT_Ints, Big Digits, ADC Average and now your Locator code.

    Many many thanks. I tried but just can't follow it...
  22. Replies
    0
    Views
    1,787

    Microchip Tips n Tricks

    Following on from the other thread this is the source of much useful information and ingenious tips.

    Microchip Tips Pdf
  23. Replies
    4
    Views
    3,138

    Self powered PIC, app note. How to do.

    I found this app note from Microchip which may be of use to someone for battery operation.



    7312
  24. Re: How do I discern Maidenhead Locator from GPS lat long info.

    Hi Andy,

    That's the doc I took the info post from :)

    Regarding working satellites, I downloaded a Maidenhead Locator App for my Android phone. Gives lots of other info too.
    Able to get 10...
  25. Re: How do I discern Maidenhead Locator from GPS lat long info.

    Hi Darrel,

    Many thanks for this.

    I wondered about the variables. I did have a try at following the code through in the hope I could perhaps work it out.

    As a test. I changed the string to 8...
Results 1 to 25 of 100
Page 1 of 4 1 2 3 4