Search Results - MEL PICBASIC Forum


Search:

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

Page 1 of 4 1 2 3 4

Search: Search took 0.00 seconds.

  1. Replies
    9
    Views
    8,728

    V 2.60 and DT Instant Interrupts?

    I was wondering if Mr. Taylor's great Instant Interrupts will work with the new PBP upgrade, specifically the 18F87J90 family?
  2. Thread: Define osc

    by jderson
    Replies
    0
    Views
    2,039

    Define osc

    I would like to use the new 16F723 in a remote control application that requires extremely low operating current. It would be good if I could run the PIC at 32khz. frequency and use the hardware...
  3. Replies
    16
    Views
    35,006

    Type "sun tracking" into the search tool.

    Type "sun tracking" into the search tool.
  4. Thread: Count?

    by jderson
    Replies
    9
    Views
    4,307

    Yes, I think it is a better solution all around!...

    Yes, I think it is a better solution all around! I am using 2.50b, Haven't installed the latest patch yet. Thanks again!
  5. Thread: Count?

    by jderson
    Replies
    9
    Views
    4,307

    After adding the line to enable T1 within the...

    After adding the line to enable T1 within the Main loop, Mr. E's program does want I need. Thank you Mr. E!

    Main:

    wTimer1=0 ' clear Timer1
    T1CON = %00000111
    ...
  6. Thread: Count?

    by jderson
    Replies
    9
    Views
    4,307

    Bruce, I just did it again with exactly the same...

    Bruce, I just did it again with exactly the same code as posted. The ckecksum is 3174 with 1000, and 3160 with 2000. Could you check your checksums? I'll check the incoming pulses with a scope later...
  7. Thread: Count?

    by jderson
    Replies
    9
    Views
    4,307

    Count?

    I obviously don't understand how the COUNT instruction works. The PBP manual says "The resolution of Period is in milliseconds. It tracks the oscillator
    frequency based on the DEFINEd OSC." In the...
  8. Thread: Saving COUNTs?

    by jderson
    Replies
    10
    Views
    5,666

    Adding the IF statement fixed it, and all is...

    Adding the IF statement fixed it, and all is good! Thank you, Arrati.

    Main:

    count PORTC.5, 1000, W1
    if W1 > 60 then
    X1 = X1+(w1-60)
    endif
    lcdout $fe,1, dec W1
    ...
  9. Thread: Saving COUNTs?

    by jderson
    Replies
    10
    Views
    5,666

    Arrati- Thank you for your help. Although it...

    Arrati-
    Thank you for your help. Although it looks good, your program does strange things! With no input on RC.5(LOW), X1 is all over the place, 126,76,20,216, etc., while W1 remains zero.
  10. Thread: Saving COUNTs?

    by jderson
    Replies
    10
    Views
    5,666

    Yes, sorry. The last program displays 15, which...

    Yes, sorry. The last program displays 15, which is W1-60. But it does not become 30,45,60,75, etc.
  11. Thread: Saving COUNTs?

    by jderson
    Replies
    10
    Views
    5,666

    Correction. Should have been W1 is greater than...

    Correction. Should have been W1 is greater than the constant.
  12. Thread: Saving COUNTs?

    by jderson
    Replies
    10
    Views
    5,666

    Thanks for the help. I'm beginning to see the...

    Thanks for the help. I'm beginning to see the light, but my head's not completely pulled out yet! I know that on each pass, X1 will be greater than a constant(60 for example). I would like to total...
  13. Thread: Saving COUNTs?

    by jderson
    Replies
    10
    Views
    5,666

    Saving COUNTs?

    I'm trying to accumulate the number of counts that the COUNT command returns on each pass though Main. I feel really stupid, but this code always saves and displays the most recent count:
    ...
  14. Replies
    3
    Views
    3,474

    Thank you, Bruce. How do I fix it so it exits...

    Thank you, Bruce. How do I fix it so it exits from the routine?
  15. Replies
    3
    Views
    3,474

    16F946 Instant Interrupts problem

    This program is supposed to count pulses on RB0 (INT), display count on LCD, and blink the LED. On power up, the LED blinks as it should, and the LCD displays zero, as it should. As pulses (~100hz)...
  16. Replies
    0
    Views
    2,156

    PICkit 2 and RBC interrupts

    This is probably unique to my situation, but I thought I would share anyway:

    I am trying to program AND operate my 16F946 from the PICkit 2, using ICSP. It programs fine, but the RBC interrupts...
  17. Thread: 16f946

    by jderson
    Replies
    20
    Views
    9,650

    I guess this isn't going to work then, because...

    I guess this isn't going to work then, because there are 300 subroutines in the INCLUDE file.
  18. Thread: 16f946

    by jderson
    Replies
    20
    Views
    9,650

    Well, I am wrong, again! The INCLUDE file...

    Well, I am wrong, again! The INCLUDE file compiles, but the main program doesn't display the number "1" in the first position when i use the INCLUDE file. When I move the contents of the INCLUDE file...
  19. Thread: 16f946

    by jderson
    Replies
    20
    Views
    9,650

    Yes, thank you! Changing the name in the main...

    Yes, thank you! Changing the name in the main program from .bas to .pbp fixed it.
  20. Thread: 16f946

    by jderson
    Replies
    20
    Views
    9,650

    The INCLUDE file now compiles fine, but trying to...

    The INCLUDE file now compiles fine, but trying to compile the "Main" program causes the "Unable to open INCLUDE file NUM TEST.BAS" error. Both of the files shown below are located in c:\Program...
  21. Thread: 16f946

    by jderson
    Replies
    20
    Views
    9,650

    Right you are, Mr. Taylor! I had the dropdown...

    Right you are, Mr. Taylor! I had the dropdown wrong (it defaults to 16f628).
    All is well once again, thank you! (I must be lacking film)
  22. Thread: 16f946

    by jderson
    Replies
    20
    Views
    9,650

    I have been trying to make an "INCLUDE" file...

    I have been trying to make an "INCLUDE" file containing all the various LCDDATA subroutines, but the compiler doesn't like it because LCDDATA is processor-specific, apparently. How is this done?
  23. Thread: 16f946

    by jderson
    Replies
    20
    Views
    9,650

    Fixed it, thank you!

    Fixed it, thank you!
  24. Thread: 16f946

    by jderson
    Replies
    20
    Views
    9,650

    Characters display perfectly now, thank you. Only...

    Characters display perfectly now, thank you. Only one slight problem- when I compile with MPASM, I get the following warning: "Warning[219]c:\pbp\pbppic14.lib 905 : Invalid RAM location specified."...
  25. Thread: 16f946

    by jderson
    Replies
    20
    Views
    9,650

    Thank you, Darrel! You're GREAT, as usual.

    Thank you, Darrel! You're GREAT, as usual.
Results 1 to 25 of 100
Page 1 of 4 1 2 3 4