PASS or FAIL 5VDC signal stays on until the next test. Is there a way to reset the device other than a 120VAC power cycle to where neither the PASS or FAIL light is on going into the next test?

Category: Software
Hashtags: #DLL #FAIL #PASS #reset

Answer

You can use ICP DLL functions to turn off the LEDs after programming is completed:
err=Icp2PinState(G3_GPF_OUT_PASS, PIN_LOW, &pin_state); //PASS/FAIL outputs
err=Icp2PinState(G3_GPF_OUT_FAIL, PIN_LOW, &pin_state); //+err=Icp2PinState(LED_INT_PASS, PIN_LOW, &pin_state); //PASS/FAIL LEDs
err=Icp2PinState(LED_INT_FAIL, PIN_LOW, &pin_state); //+err=Icp2PinState(G3_LED_PASS_EXT, PIN_LOW, &pin_state); //PASS/FAIL LEDs (ICP2GANG/COMBO)
err=Icp2PinState(G3_LED_FAIL_EXT, PIN_LOW, &pin_state); //+

Still have questions? Contact Us

Send Us a Message

0
    0
    Your Cart
    Your cart is empty
    Stay Ahead with Softlog Systems!

    Join our newsletter and get exclusive industry insights, product updates, and expert tips on in-circuit programming and secure MCU solutions.

    🔹 Be the first to know about new supported devices

    🔹 Get expert advice on optimizing your programming workflow

    🔹 Access exclusive offers and technical resources

    👉 Sign up now and stay ahead in microcontroller programming!

    Skip to content