Search Results - MEL PICBASIC Forum


Search:

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

Search: Search took 0.00 seconds.

  1. Re: 12f675 to latch output while it does something else

    THANK YOU all. got it to work on the PICEASY board, now to put it in a box and on the wall.


    thanks again:D
  2. Re: 12f675 to latch output while it does something else

    Hi mark, thanks for the heads up on that, Yes I'm using a 2N2222 for the output to relay on open emitter, as well as a diode across the relay to stop it from chattering.
  3. Re: 12f675 to latch output while it does something else

    Hi henrik, I seem to have lost A.0 & A.1 & A.3 as outputs....? I tried to swap the led around the port, but they won't light up.

    A.2 is the LED
    A.4 is the RELAY and
    A.5 is the Button
  4. Re: 12f675 to latch output while it does something else

    Henrik, thanks a million, we managed to get it to work. Alto port 1 out does not light the led. It ok I already know why. I can't see how I missed out the config for comparator. Thanks again....!
  5. Re: 12f675 to latch output while it does something else

    Thanks henrik, Ill try that on Monday. Have a great weekend..!

    Philip
  6. Re: 12f675 to latch output while it does something else

    Ok will do that we are out of the office already, GMT +8 here. That will be the first thing I try on Monday. Will keep you posted. Thanks Philip. Have a great weekend guys
  7. Re: 12f675 to latch output while it does something else

    Standby: 'WAIT FOR BUTTON TO STARTUP
    Button SWITCH,1,255,0,b1,1,STARTUP 'Check Button 1 (Skip to heartbeat if Not Pressed)

    Heartbeat:
    'HEART BEAT INDICATOR ON LED
    For DUTYCYCLE = 0 to 255 STEP...
  8. Re: 12f675 to latch output while it does something else

    yes that does. I initially thought maybe there was a problem with the out put pin., i swap to other pins, same result, still not satisfied, i ran my scope on the the pins, yup, th efirst led switches...
  9. Re: 12f675 to latch output while it does something else

    it seems it is not possible to have 2 outputs HIGH at the same time....? i tried to lite up 2 leds:

    HIGH LED1
    HIGH LED2

    only LED22 lights up, then i did:

    HIGH LED1
    PAUSE 1000
    HIGH LED2
  10. Re: 12f675 to latch output while it does something else

    tried various ports on the MCU. it is sitting on the PICEasy5 board
  11. Re: 12f675 to latch output while it does something else

    Hi Henrik,

    i tried it, but the relay will not stay ON.
  12. Re: 12f675 to latch output while it does something else

    this is the prog:

    INIT:

    PAUSE 1000 'INTERNAL CLOCK RESET 75ms
    clear 'SET REGISTER TO ZERO

    FOR TIMES = 3 TO 1 STEP -1
    ...
  13. Re: 12f675 to latch output while it does something else

    Ohhhh.... yes I need the relay to stay on indefinitely from HIG RELAY command until a LOW RELAY command is executed
  14. 12f675 to latch output while it does something else

    Hi every1,

    I'm very new to programming PIC micro controllers. I've been banging my head against the wall the last few days, is there any way I can get an output to stay on while the processor does...
Results 1 to 14 of 14