Use timer A0 to blink the onboard LEDs connected to pins 1.0 and 4.7 at a frequency of 1 kHz and duty cycles of 0.25 and 0.75 respectively

前端 未结 0 870
夕颜
夕颜 2020-12-09 05:41

I\'m using an MSP430F5529 board and CCS to program it for this problem. My code is as follows:

#include 


int main(void)

{
    WDTCTL = WDTP         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题