摘要: #include "s5pc100.h"#include "uart.h"int main(){ int i; GPG3.GPG3CON = 0X1111; int mod=4; while(1){ GPG3.GPG3DAT = (0x1<<mod);//移位操作 mod=(mod+1)%4; for(i = 0; i <= 100000; i++); GPG3.GPG3DAT = 0x0; for(i = 0; i <= 100000; i++); } return 0;} 阅读全文
posted @ 2013-05-09 12:42 九月光 阅读(291) 评论(0) 推荐(0) 编辑