[help]bascom-avr program writing

Discussion in 'Programmer's Corner' started by king40, Jul 25, 2013.

  1. king40

    Thread Starter Member

    Jul 17, 2013
    75
    0
    hi
    this is possible to show pulse width with bascom-avr ???:confused:
     
    Last edited: Jul 26, 2013
  2. WBahn

    Moderator

    Mar 31, 2012
    17,715
    4,788
    What voltage?

    Show how?

    BASCOM-AVR is just a BASIC compiler for AVR microcontrollers.

    Try clearly describing what it is you are trying to do.
     
    king40 likes this.
  3. king40

    Thread Starter Member

    Jul 17, 2013
    75
    0
    i want measure a pulse width with bascom and atmega 32 :rolleyes:
     
  4. WBahn

    Moderator

    Mar 31, 2012
    17,715
    4,788
    So what is preventing you from measuring the width of the pulse? Capture the time when it goes HI, capture the time when it goes LO. Subtract the two.
     
    Eric007 likes this.
Loading...