智能车制作

标题: S12XS128最小系统板如何点亮与PK7相连的那个LED? [打印本页]

作者: 徐云鹏    时间: 2014-2-18 15:53
标题: S12XS128最小系统板如何点亮与PK7相连的那个LED?
#include <hidef.h>      /* common defines and macros */
#include "derivative.h"      /* derivative-specific definitions */

void main(void) {
  /* put your own code here */
     PORTK |=0x80;
     DDRK |=0x80;








欢迎光临 智能车制作 (http://111.231.132.190/) Powered by Discuz! X3.2