Search Results - MEL PICBASIC Forum



THE BOOK of DT's INTERRUPTS is an organization of interrupt service routines and other works written by Darrel Taylor, RIP.

Interrupt routines are arranged per Darrel's original list. Darrel Taylor's Instant Interrupts are an extension of the work of Tim Box whom in October of 2002 wrote INT_CTRL.pbp

Many of the forum members felt this is a long overdue project.

THE BOOK of DT's INTERRUPTS
will be a valuable resource and a tribute to Darrel Taylor the "Fanatical Contributor".

THE BOOK of DT's INTERRUPTS is located at http://dt.picbasic.co.uk/

Search:

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

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    9
    Views
    275

    Re: directive in pbp to select pic

    You have "include fp2032.bas" which doesn't look right. It should be "include pic16f886.bas" (or whatever your PIC is).
  2. Re: COFF problem when box checked at compile time.

    When you say "The latest MPLABX", you do know PBP3 works with MPLABX versions 5.35 and older. MPLABX is currently on version 6.00, which uses pic-as instead of the traditional ASM for compilations. ...
  3. Thread: Forum Adverts

    by mpgmike
    Replies
    39
    Views
    31,918

    Re: Forum Adverts

    So far the only ad I've seen was one that popped up and blocked my access to the site without clicking. This just happened as I was trying to click on a thumbs up on this very page. I have seen no...
  4. Thread: Forum Adverts

    by mpgmike
    Replies
    39
    Views
    31,918

    Re: Forum Adverts

    It is customary to provide space in the right sidebar for ad placement. It is also common to have an ad placed every 5 posts or so. They get visibility, but without pop-ups. I think the consensus...
  5. Replies
    9
    Views
    461

    Re: What is causing my problem?

    I had a similar experience with some PIC18F45K22 dip-40 parts I had laying around for many years. I couldn't get clean digital outputs to the point where things didn't work properly. After spending...
  6. Replies
    8
    Views
    456

    Re: 16Bit 125KHz PWM with PIC12F1572

    Just another thought, the PSMC Peripheral found on some PIC16F17XX parts (and probably others) should at least clock from XTAL. It's a 16-bit PWM type control strategy.
  7. Replies
    8
    Views
    456

    Re: 16Bit 125KHz PWM with PIC12F1572

    The 16-bit PWM Module in the PIC12F1572 takes cues from the 16-bit Output Compare (OC) Module. There are several FRMs that cover the dsPIC33 OC functions if you want a more elaborate explanation. ...
  8. Replies
    9
    Views
    621

    Re: 125KHz HW PWM Output

    Referencing the Mister e Calculator, it looks like the best resolution you can get is 0 to 160, where 160 will be 100% Duty Cycle.
  9. Re: "Variable already an alias" - is there a way to avoid this?

    He made one other seemingly useless post with his fence company link embedded. I deleted this one. Maybe I should have deleted the other one. At least in the other one his fence link looked like a...
  10. Replies
    2
    Views
    233

    Re: Hserout overides debug and serout2

    My first question is why would you try to do the same thing 3 different ways in such a way as they conflict with each other?!?

    HSEROUT is Hardware based. If you look at the data sheet for...
  11. Replies
    6
    Views
    724

    Re: fusses info in PB3

    When I bought PBP3.1 I spent a few bucks extra and got the paper version of the Manual. I read through many times, underlined things, wrote in the margins, and highlighted excerpts in different...
  12. Re: Adding and reading byte variable from the bit array?

    The best I can think of is shifting & bit masks. If you want to use bits 2 through 5, create a generic temporary variable to put the interim result. Right shift it to put the 1st needed bit at the...
  13. Re: How to detect variable going below zero, without using PBPL ?

    Whether signed or unsigned, 0 = 0.
    With an Unsigned BYTE (let's start simple), the range is 0 to 255. From 255, add 1 and you get 0 again, as the BYTE rolls over.
    With a Signed BYTE, the range is...
  14. Re: How to detect variable going below zero, without using PBPL ?

    Zero VAR BYTE
    Variable VAR BYTE
    OtherVar VAR BYTE

    ADCIN, Zero
    ADCIN, Variable
    IF Variable < Zero THEN
    Zero = [some newly calculated value]
    ENDIF
    OtherVar = Variable - Zero
  15. Re: How to detect variable going below zero, without using PBPL ?

    ADCIN Baseline
    ADCIN Reference
    IF Reference < Baseline THEN
    'Sign = negative
    'Use subtraction in calculation
    'Denote a reduction
    ELSE
    'Sign = positive
    'Use addition in calculation
    ...
  16. Re: Adapting a PICAXE program to PBP, to program a PIC (compiler Errors)

    It's been quite a few years since I played with PICAXE, but what I do remember is that to configure the TRIS Registers, with PICAXE an Output = 1, but with PBP an Output = 0; they're backwards.
    ...
  17. Replies
    8
    Views
    996

    Re: Positive Feedback?

    I've been trying to over-use it to let the productive folks know it's there.
  18. Replies
    8
    Views
    996

    Re: Positive Feedback?

    Thank you Lester! Let's see how it's received. Haven't gotten that far yet, but did you make a General Forum announcement?
  19. Replies
    8
    Views
    996

    Positive Feedback?

    On most forums, there are little icons at the bottom to allow signed-in users to "Like", "Agree", "Disagree", and so forth. The Microchip Forum has a 5-Star rating for individual posts. Even the...
  20. Replies
    13
    Views
    1,226

    Re: SEROUT2 Byte Array In HEX Format

    You are probably overwriting the TXREG before it's finished sending the previous packet. You didn't mention which PIC you're using, so refer to the appropriate data sheet for the exact Register...
  21. Replies
    5
    Views
    580

    Re: Programming problem

    Did you get the latest PBP3.1.5 update? If so, you need to update the U2 software as well. If you did update both, maybe there's a new bug in one of the two.
  22. Replies
    1
    Views
    437

    PBP3.1.5 Update

    Charles posted that he updated PBP3.1 Pro last week:

    https://support.melabs.com/member/3-charles-leo

    Seems to affect the Q10 and Q43 Families mostly.
  23. Replies
    12
    Views
    1,374

    Re: Pic18f47q43 i/pt 44pin tqfp

    Beware, some companies will -- at best desolder chips from used circuit boards or -- at worst, sell dummy chips marked with the labeling of what you want. I've seen numerous articles recently about...
  24. Replies
    12
    Views
    1,374

    Re: Pic18f47q43 i/pt 44pin tqfp

    I have several PIC18F47Q43 in DIP-40 and I have a couple PIC18F57Q43, but not what you need.
  25. Replies
    2
    Views
    387

    Re: DT_Ints with PIC18F45K80 problem

    Each Special Function Register (SFR) Interrupt used by DT_INT is denoted with an IntFlagReg (PIRx), while the switch controlled by each bit within the SFR is denoted as a IntFlagBit (bit within...
Results 1 to 25 of 100
Page 1 of 4 1 2 3 4