blob: 8f8e2f7834156da991d646df9d3a744f12d476f3 [file] [log] [blame]
#include "lynq_alarm.h"
#include <stdio.h>
#include <stdlib.h>
int main()
{
int rtc_id = 0;
rtc_id = lynq_rtc_service_init();
if(rtc_id == -1)
{
printf("init fail\n");
return 0;
}
lynq_set_poweralarm(60, rtc_id);
lynq_rtc_service_deinit();
return 0;
}