Search Results - MEL PICBASIC Forum


Search:

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

Search: Search took 0.00 seconds.

  1. Replies
    4
    Views
    2,539

    Re: Which interrupt ?

    It's saving PortB in HoldB but after the pin goes back to its high state. In other words, Pin 2 is changing back to it's high state before it goes to ISR - at least it seems that way.


    Disable...
  2. Replies
    4
    Views
    2,539

    Re: Which interrupt ?

    I like the idea but its weird as to what happens. I push the button which generates the interrupt. I watch the status of the "HoldB" variable which is the first statement in the ISR - and it does...
  3. Replies
    4
    Views
    2,539

    Which interrupt ?

    Hi All,

    I'm using PBP and 16F887 MCU.

    I'm employing PortB pin 2 & 3 for interrupts and it works great. I have two push buttons, one for each pin. What I want to happen is when I push the first...
  4. Thread: Do Loop

    by skybox
    Replies
    13
    Views
    7,895

    Re: Do Loop

    Vett58,

    Thanks for the response. The problem end up being in how I had the LDR circuit constructed. The code was not the issue. Originally, I had the LDR in a configuration that turned on a...
  5. Thread: Do Loop

    by skybox
    Replies
    13
    Views
    7,895

    Re: Do Loop

    Hello Rob,

    Thanks for sharing your code. It is always interesting to see others' solutions to common challenges. Would it be too much to ask to see the schematic of your LDR circuit? I'm curious...
  6. Thread: Do Loop

    by skybox
    Replies
    13
    Views
    7,895

    Re: Do Loop

    Thanks everyone for your assistance. The problem end up being associated with the LDR. I have the output of the LDR circuit going to the comparator of the PIC. The result is then assigned to a...
  7. Thread: Do Loop

    by skybox
    Replies
    13
    Views
    7,895

    Re: Do Loop

    Shawn,

    Thanks for the reply. I do have a question concerning your answer. In the PBP manual it states the "While...Wend" has been deprecated and to use the "DO...Loop" instead. I never completely...
  8. Thread: Do Loop

    by skybox
    Replies
    13
    Views
    7,895

    Do Loop

    I have a project with a few relays and a 12 volt dc motor. The motor opens and closes a door based on a light and dark (LDR) The door has hall sensors to limit travel. For the most part everything...
Results 1 to 8 of 8