Search Results - MEL PICBASIC Forum


Search:

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

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Replies
    772
    Views
    599,278

    Re: Instant Interrupts - Revisited

    How fast is the led blinking?

    Ioannis
  2. Replies
    772
    Views
    599,278

    Re: Instant Interrupts - Revisited

    The answer is in the Error messages:



    It says, " Add:" wsave VAR BYTE $20 SYSTEM
    and also " Add:" wsave1 VAR BYTE $A0 SYSTEM

    So, your code might look like this now:
  3. Replies
    772
    Views
    599,278

    Re: Instant Interrupts - Revisited

    Thanks Darrel. Yes I understand that it is too much to ask for your software to cover every variation that Microchip offers.

    It was my part to find that, though I got a little confused by the Data...
  4. Replies
    772
    Views
    599,278

    Re: Instant Interrupts - Revisited

    Oh, I see.

    I thought this was taken care by the DT-INTS.

    Thanks Darrel,
    Ioannis
  5. Replies
    772
    Views
    599,278

    Re: Instant Interrupts - Revisited

    I am trying to make an Interrupt on Rising Edge, PortB.0 on a 16F1827 chip.

    When first POR the device, it send the message "Program started" and waits for the Interrupt.

    When interrupt happens,...
  6. Replies
    772
    Views
    599,278

    Re: Instant Interrupts - Revisited

    Yes that is correct. So the Q_count variable is incrementing by 4.

    Ioannis
  7. Replies
    772
    Views
    599,278

    Re: Instant Interrupts - Revisited

    Hi Al. I am using the #27 ISR.

    The thing that I added was the check for the 4 counts before Q_Count variable is incremented or decremented.

    Thats because the encoder I use produces 4 pulses on...
  8. Replies
    772
    Views
    599,278

    Re: Instant Interrupts - Revisited

    Excellent! Works terrific now.

    These chips are a little pain in setting them.

    Thanks Darrel.

    Ioannis
  9. Replies
    772
    Views
    599,278

    Re: Instant Interrupts - Revisited

    Hi. I am trying to make this Rotary Encoder work with DT-INTS on a 16F1827 device.

    It gets once in the interrupt routine and never seem to exit.

    Here is the code so far driving me crazy.


    ...
  10. Replies
    772
    Views
    599,278

    Re: Instant Interrupts - Revisited

    A couple of resistors maybe are enough to isolate the ICSP from the rest of the circuit without need of any jumpers.

    Ioannis
  11. Replies
    772
    Views
    599,278

    Re: Instant Interrupts - Revisited

    For the practical side, users just get a descriptive message as of what to do in the main program. This errors,that are instructions really, may scare a little. But they just tell you what to do.
    ...
  12. Replies
    772
    Views
    599,278

    Re: Instant Interrupts - Revisited

    Darrel has changed the way DT-INTs work now.

    It may surprise but is far better now.

    Happy burning :)

    Ioannis
  13. Replies
    772
    Views
    599,278

    Re: Instant Interrupts - Revisited

    You have error messages that tell you exactly what to do:

    Add wsave etc...

    Look into your DT-INT-14.bas file at the first section that says:

    ;-- Place a copy of these variables in your Main...
  14. Replies
    772
    Views
    599,278

    OK. I got it. Was the goto main before Interrupt...

    OK. I got it. Was the goto main before Interrupt setup.

    Sorry for my careless... A cupof coffee did the job!

    Ioannis
  15. Replies
    772
    Views
    599,278

    Hi Darrel. Well, with 3 toddlers running...

    Hi Darrel.

    Well, with 3 toddlers running around till 10.30 pm sure I will have double CLEAR commands to clear my mind!

    OK I moved the IOCB/WPUB before GOTO main but still no Interrupts occur.
    ...
  16. Replies
    772
    Views
    599,278

    Thanks all for the support. Al.: We are...

    Thanks all for the support.

    Al.: We are testing the new DT-INTs version 1.10. Here as Darrel pointed out the wsave are set in the main program.

    Darrel: You are correct in the Port change...
  17. Replies
    772
    Views
    599,278

    When compiling the attached file I get the...

    When compiling the attached file I get the attached error.

    It drives me crazy....

    Ioannis
  18. Replies
    772
    Views
    599,278

    DT-INTS version 1.00 or 1.10? Ioannis

    DT-INTS version 1.00 or 1.10?

    Ioannis
  19. Replies
    772
    Views
    599,278

    Hi. Yes I did included them. The sample was...

    Hi. Yes I did included them. The sample was stripped down from the obvious.

    Well, the new DT-INTs have changed a little I suppose.

    OK, Darrel pointed what to do. I did uncomment the wsave1,2,3...
  20. Replies
    772
    Views
    599,278

    Sorry I did not fully understood what you mean......

    Sorry I did not fully understood what you mean...

    With the old (version 1.00) there is no problem in compiling with RBC_INT interrupt. With 1.10 I get various errors like the ones posted.

    Of...
  21. Replies
    772
    Views
    599,278

    I downloaded the latest version 1.10 for the...

    I downloaded the latest version 1.10 for the DT-INTS14 and now I get a lot of errors.

    Does anyone else has the same problem? With v1.0 had no error (but nothing was working either.... :( )

    I...
  22. Replies
    772
    Views
    599,278

    I suppose you did commend the 4 lines starting ...

    I suppose you did commend the 4 lines starting with __CONFIG in the xxx.inc file inside your PBP directory, right?

    Ioannis
  23. Replies
    772
    Views
    599,278

    Have tried to compile from command line and it...

    Have tried to compile from command line and it went OK?

    Ioannis
  24. Replies
    772
    Views
    599,278

    Alain, there is no problem here where the lines...

    Alain, there is no problem here where the lines of includes are placed. Either on the very top or just before the macros... Are you sure about that?

    Ioannis
  25. Replies
    772
    Views
    599,278

    No Bruce. They are in pbp directory and the...

    No Bruce. They are in pbp directory and the project too.

    It is not the first time I use these excellent routines.

    That is why I post here. I am almost driving myself in the la-la land with...
Results 1 to 25 of 49
Page 1 of 2 1 2