The port RA2 was sampled by AD convert module and the result was stored in the work register, and then it was compared with preset value.

  • 若采样结果低于设定值,使单片机输出端口输出低电平,控制背光灯亮;
目录 查词历史