#include "zsn603.h"
#include "demo_zsn603_entries.h"

void demo_zsn603_led_test_entry (zsn603_handle_t handle)
{
    unsigned char ret = 0;
    ret = zsn603_control_led (handle,  ZSN603_CONTROL_LED_ON);
    if(ret == 0){
        printf("led on !\r\n");
    }else{
        printf("led control beacuse error 0x%02x", ret);
    }
    delay_ms(200);
    ret = zsn603_control_led (handle,  ZSN603_CONTROL_LED_OFF);
    if(ret == 0){
        printf("led off !\r\n");
    }else{
        printf("led control beacuse error 0x%02x", ret);
    }
}
