• Pulse width measurement
    I downloaded the demo program from the website to measure the pulsewidth using TIMER0. ET0 =1; EA =1; TMOD = (TMOD&0xF)| 0x09; //Set GATE0 bit while(1) { T0_ISR_count=0; TH0=0; TL=0; TR0=1; //start...
  • Assembler and pulse width
    I need to measure a pulse with that is almost faster then C can process with the hardware I'm using, so I think. I'm only getting a count of 26 on a pulse width, Witch has been good for the last four...
  • measuring pulse width
    how do i measure a pulse width using the pca in high-speed output mode? not quite sure what registers i need to read when the interrupt is triggered. i am using a 8051f023 chip.
  • VHDL code of pulse width modulation PWM
    i'm writing a code of a 4 bit pulse width modulator with the following code llibrary ieee; use ieee.std_logic_1164.all; use ieee.std_logic_unsigned.all; entity PWM is port(CLK : in std_logic;...
  • Counting the pulses with LPC2148
    hello, i am doing my project using lpc2148 development board. In my project, i made an encoder for the DC motor with the help of IR Sensor. i attached a white piece of paper on the wheel to count the...