Search Results - MEL PICBASIC Forum


Search:

Type: Posts; User: Darrel Taylor; Keyword(s):

Page 1 of 4 1 2 3 4

Search: Search took 0.04 seconds; generated 44 minute(s) ago.

  1. Re: How to determine 485 network is not busy in half-duplex

    I think the limitation of 20 nodes and 9600 baud is related to the huge caps on the A/B lines.
    Trucks have a very noisy electrical environment that would benefit from the reduced slew rate.

    If...
  2. Replies
    10
    Views
    6,310

    Re: More than a single function

    PIC's can do many things at the same time.

    It can only execute one instruction of the program at a time ...
    But simultaneously, all the hardware peripherals are doing their "thing" too.

    Timers...
  3. Replies
    10
    Views
    6,310

    Re: More than a single function

    MIBAM can do all of the effects in that video.
    Although his code only has 4 dimming levels. MIBAM has 256 levels.

    If you have PBP3 the "sdat" command structure can be duplicated with...
  4. Replies
    10
    Views
    6,310

    Re: More than a single function

    See post #3 in this thread ...

    MIBAM - (Mirror Imaged Bit Angle Modulation)
    Cylon Scanner
    http://www.picbasic.co.uk/forum/showthread.php?t=10564
  5. Replies
    13
    Views
    8,519

    Re: Wrapping code

    Really!


    You could have an HSEROUT statement for every character, and it wouldn't use a single word more than putting everything in a single HSEROUT.
    That's just the way HSEROUT works.
    It calls...
  6. Replies
    13
    Views
    8,519

    Re: Wrapping code

    Compiling that code ... generates a "FATAL ERROR: Internal: Locate could not find nCmd = 32174784"

    But it has nothing to do with "Line Continuation" and the "_" underscore.
    There are simply too...
  7. Replies
    13
    Views
    8,519

    Re: Wrapping code

    Could you explain what you mean by that.
    This code which goes out to column 333 compiles just fine with PBP3.


    I VAR WORD
    value VAR WORD

    LOOKUP I,...
  8. Replies
    108
    Views
    157,538

    Sticky: Re: LCD_AnyPin.pbp

    LCD_AnyPin works with all versions of PBP from 2.46 and later.

    But you'll need to use the MPASM assembler.
    Which means you also need to change your @ DEVICE statement.

    @ __config ...
  9. Re: How to determine 485 network is not busy in half-duplex

    Half-Duplex RS485 is fully capable of Multi-Master mode.
    The key is a fairly complex Arbitration process.

    There is a description of the arbitration process in the Microchip appnote AN1230.
    I...
  10. Replies
    2
    Views
    3,774

    Re: RTCC Issues PIC18F67J90

    Your line RTCCFG = %10000100 isn't enabling the RTCC module ...
    The RTCWREN bit must be set before you can set the Enable bit (RTCCFG.7).



    EECON2 = $55
    EECON2 = $AA ; Unlock
    RTCCFG.5 =...
  11. Replies
    6
    Views
    4,856

    Re: Config Bits

    Go back to demon's post #2, and revisit the 543 thread.
    In particular, go to post #5 from mister_e ... and like magic from 9 years ago ... your problem will be solved.

    Well except for the fact...
  12. Re: PIC16F887 fuse config statements for PBP anyone?

    http://support.melabs.com/content/563-meCONFIG
  13. Re: How do I discern Maidenhead Locator from GPS lat long info.

    Yahooo!


    If you are going to add interrupts, you'll need to make some changes.

    SERIN2's baudrate is software timed, and it doesn't like being interrupted.
    You'll have to move the serial lines...
  14. Re: How do I discern Maidenhead Locator from GPS lat long info.

    With DEC4 change it to this for the Longitude ...

    ;----[convert Longitude Sexagesimal to Decimal Degrees]-------------------------
    Aint = LonMinDec : GOSUB ItoFA ; decimal portion of Minutes...
  15. Re: How do I discern Maidenhead Locator from GPS lat long info.

    Does your GPS module put out more decimal places in the LAT/LON fields?

    Since the edge of the square runs through the middle of the house, whether you're at the front window or rear window inside,...
  16. Re: How do I discern Maidenhead Locator from GPS lat long info.

    These are some of the results I get ...


    LAT LON Maidenhead
    Deg Min.Min Deg Min.Min 1234567890
    ------------ ------------ ----------
    53° 25.83' -0° 49.77' ...
  17. Re: How do I discern Maidenhead Locator from GPS lat long info.

    Nope, it's 24x24.
    And your 10-digit locator is IO93ok03kh.

    This version is quite different from the last one.
    I've tossed out the stuff that came from the pearl script and did it like the PDF...
  18. Re: How do I discern Maidenhead Locator from GPS lat long info.

    Not sure if the fifth pair is also a 10x10 subdivision, since the PDF only does 8 characters.
    But continuing the logic to the next pair, I'm getting that your 10 digit locator is ... IO93ok03ed
    ...
  19. Re: How do I discern Maidenhead Locator from GPS lat long info.

    Thanks Rob, that is helpful.
    But the routines from the pearl script don't leave the variables in the right state to do the last part.

    I'm trying to recreate it in a spreadsheet to see what values...
  20. Re: How do I discern Maidenhead Locator from GPS lat long info.

    The code was based on the pearl script on the Wikipedia page, which only shows how to get 6 digits.

    Do you know of somewhere that shows how to get the last two digits?
  21. Re: Darryl's MIBAM code: won't compile for me!

    See section 4.9 in the PBP3 manual regarding how to set configuration bits in your code.
  22. @__config_HS_OSC @__config_BOD_OFF ...

    @__config_HS_OSC
    @__config_BOD_OFF
    @__config_PWRT_ON
    @__config_WDT_ON
    @__config_PROTECT_OFF
    @__config_LVP_OFF

    Those lines are not configuration statements.
    They are actually assembly...
  23. Re: How do I discern Maidenhead Locator from GPS lat long info.

    Yes, you can have as many custom character sets as you want.
    But only one set can be loaded at a time.

    In your last code, the configs you have aren't doing anything.
    They should look like this...
  24. Re: How do I discern Maidenhead Locator from GPS lat long info.

    WooHoo!! That's Beeeeauuuutiful Rob!

    I'm so glad to see it working.

    I do have some suggestions for you about the configs, Months, volts ...
    When your ready to work on it some more.

    P.S....
  25. Replies
    15
    Views
    7,094

    Re: Operator problem

    Assuming the operations are being done at run-time ...
    Internally, both * and */ do the same 16x16 bit multiplication, and the system variables contain the same 32-bit "product".

    For the mid-word...
Results 1 to 25 of 98
Page 1 of 4 1 2 3 4