nkjnm

Dependencies:   MAX44000 nexpaq_mdk

Fork of LED_Demo by Maxim nexpaq

Files at this revision

API Documentation at this revision

Comitter:
nexpaq
Date:
Mon Sep 19 14:21:15 2016 +0000
Parent:
3:9d15891f9352
Child:
5:9b5534e46d30
Commit message:
Demo for event

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Mon Sep 19 13:13:32 2016 +0000
+++ b/main.cpp	Mon Sep 19 14:21:15 2016 +0000
@@ -16,7 +16,7 @@
 /***** Definitions *****/
 #define		FUNCTION_TABLE_NUM					1
 #define		UUID_NUM							16			//UUID number is 16, don't change it
-#define     LOOP_DELAY                          250
+#define     LOOP_DELAY                          100
 
 /***** Globals *****/
 void my_function_CMD_2700(unsigned char *pData, unsigned char len);
@@ -38,7 +38,6 @@
 
 /******************************************************************************/
 void app_setup(){
-//	np_api_set_app_version(0, 0, 3);
 	if ( np_api_register((MDK_REGISTER_CMD*)my_cmd_func_table, FUNCTION_TABLE_NUM) == MDK_REGISTER_FAILD ) {
 		// Register failed handle code
 		error("MDK Register Failed");
@@ -57,7 +56,6 @@
 	np_api_init();
 	app_setup();
 	np_api_start();	
-	//Thread::wait(5000);
 	while(1){
     	Thread::wait(LOOP_DELAY);
 		app_loop();