Search Results - MEL PICBASIC Forum


Search:

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

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    4,756

    Re: PIC16F1828 config/assembly problem

    Problem solved.

    Well, well. That was a lot of effort for one small error: I had the wrong PIC selected in MicroCode Studio. I remember selecting it before but maybe it got unselected somehow. The...
  2. Replies
    2
    Views
    4,756

    Re: PIC16F1828 config/assembly problem

    When I installed PBP3, I did not installed MPLAB since it was already installed. It just occurred to me that perhaps MPASMWIN was not working because it might be an old version. So I uninstalled...
  3. Replies
    2
    Views
    4,756

    PIC16F1828 config/assembly problem

    Hello,

    I cannot get this to compile with PBP3:


    #config
    __CONFIG _CONFIG1, _FOSC_INTOSC & _WDTE_OFF & _PWRTE_ON & _MCLRE_ON & _CP_OFF & _CPD_OFF & _BOREN_OFF & _CLKOUTEN_OFF & _IESO_OFF &...
  4. Re: Difficulty toggling LED with TMR1 overflow interrupt

    Thank you for the explanation. Now I understand. From the 16F88 datasheet: "If the global interrupt is enabled, the program will branch to the interrupt vector (0004h)."
  5. Re: Difficulty toggling LED with TMR1 overflow interrupt - SOLUTION

    For reference, here is the solution. The LED is toggled once every second by monitoring the TMR1 interrupt flag. 16F88.

    Jonathan.


    define OSC 20

    ' SET UP PORTS
    TRISB = 101111 ' PORTB.4...
  6. Re: Difficulty toggling LED with TMR1 overflow interrupt

    After a few more hours of sifting through forums, I found the answer in this very forum, in Bruce's post (#2): http://www.picbasic.co.uk/forum/showthread.php?t=6943&p=42824#post42824



    I'm not...
  7. Difficulty toggling LED with TMR1 overflow interrupt

    Hello all. I cannot persuade TMR1 interrupt to toggle an LED. I tried the "ON INTERRUPT...." method and that works fine, toggling the LED 3 or 4 times a second. But I cannot work out how to do this...
Results 1 to 7 of 7