1 2 Previous Next 21 Replies Latest reply on Jul 22, 2017 11:11 AM by chaplin.u_1533771

    How implement programmable time delay ?

    chaplin.u_1533771

      I need create schema that after input pulse make output pulse after programmable time delay ( 0-10 msec).

         

      This is code of it :

         

      Pin_In_ClearInterrupt();
          CyDelayUs(delay);
       
          Out_Pin_Write(1);
          CyDelayUs(10);   
          Out_Pin_Write(0);

         

      but I don`t want to use CyDelayUs but some hardware component.

        1 2 Previous Next