//----------------------------------------------------------------------------- // [SAM7-S EVM]rev2 Test Program // // by http://cafe.naver.com/elab //----------------------------------------------------------------------------- #include "../00_hal/system.h"
/* - [SAM7-S EVM]rev2에 연결되 LED1, 2 점등 예제 - LED1->PA7, LED2->PA8 */
//----------------------------------------------------------------------------- int main (void) { //System Initialize SystemInit(); //Init Led Led1Init(); Led2Init();
Led2On(); Led1Off(); while (1) { //Led Onf Delay(100); Led1On(); Led2Off();
//Led Off Delay(100); Led1Off(); Led2On(); } // while } //----------------------------------------------------------------------------- |