PIXNET Logo登入

阿榮交流的天地部落格

跳到主文

歡迎光臨阿榮交流的天地在痞客邦的小天地

部落格全站分類:不設分類

  • 相簿
  • 部落格
  • 留言
  • 名片
  • 9月 10 週一 201219:05
  • PSOC 以C語言寫 LED 亮&滅及延遲

CPU_CLOCK
#include <m8c.h>      // part specific constants and macros     
#include "PSoCAPI.h"    // PSoC API definitions for all User Modules   
void delay(unsigned int x);    //開始宣告delay副程式
void main(void)
{
    while(1)      //while 迴圈開頭
       {
        PRT0DR=0x10;   // LED 亮
        delay(1000);
        PRT0DR=0x00;    // LED 滅
        delay(1000);
       }
}
 
(繼續閱讀...)
文章標籤

阿榮交流的天地 發表在 痞客邦 留言(0) 人氣(3,585)

  • 個人分類:psoc 程式交流
▲top
  • 9月 09 週日 201216:03
  • PSoC & psoc Designer 介紹

psoc designer
PSoC
Programmable System-on-Chip
(繼續閱讀...)
文章標籤

阿榮交流的天地 發表在 痞客邦 留言(0) 人氣(1,174)

  • 個人分類:psoc 程式交流
▲top
1

個人資訊

阿榮交流的天地
暱稱:
阿榮交流的天地
分類:
不設分類
好友:
累積中
地區:

熱門文章

  • (3,585)PSOC 以C語言寫 LED 亮&滅及延遲
  • (1,174)PSoC & psoc Designer 介紹
  • (1,028)可程式邏輯控制器(Programmable Logic Controller)介紹

文章分類

  • PLC 程式交流 (1)
  • psoc 程式交流 (2)
  • 未分類文章 (1)

最新文章

  • PSOC 以C語言寫 LED 亮&滅及延遲
  • 可程式邏輯控制器(Programmable Logic Controller)介紹
  • PSoC & psoc Designer 介紹

最新留言

    動態訂閱

    文章精選

    文章搜尋

    誰來我家

    參觀人氣

    • 本日人氣:
    • 累積人氣: