Advertisement

用于学习和实践MSP430共阳数码管实验

阅读量:
复制代码
    #include "msp430x54x.h"
    #include <stdlib.h>
    #include <stdio.h>
    
    unsigned char seg_num[10] = {0xc0,0xf9,0xa4,0xb0,0x99,0x92,0x82,0xf8,0x80,0x90}; // 共阳数码管段码表
    
    //***************************************************************************//
    //                                                                           //
    //  Init_Port(void): 设置IO端口                                              //
    //                                                                           //
    //***************************************************************************/

全部评论 (0)

还没有任何评论哟~