MSP430F149 定时器A捕获功能测脉冲宽度 各位大神帮忙看看哪出了问题?程序如下
[code]/测脉冲宽度并用1602显示出来/#include#include"cry1602.c"#defineuintunsignedint#defineucharunsignedcharuintpwm_star,pwm_end;uintwidth;uinti=0;uchar*s="Thewidthis:";ucharb[]={'0','1','2','3','4','5','6','7','8','9'};uintm,n,p,q;voidmain( ...