/***********************************************
 * LEDライト / PIC16F18313
 * by Hirotsugu Kakugawa
 ************************************************/
#include <xc.h>
#include <stdint.h>
#include "mcr.h"

extern void Light(void);

/*------------------------------------------------------- 
 * MAIN
 *-------------------------------------------------------*/
void main(void) 
{
  /* システム初期化 */
  System_Init();
  /* ウオッチドッグタイマ 2 [Sec] typ. */
  WDTCONbits.WDTPS = 0x0B; /* 0b01011 */
  CLRWDT();
  /* 発光 */
  Light();
}
