I'm new in programming the JN5168. The main goal is to build a Phillips Hue light buld with the JN5168 but the AN is very confusing.
To get a grip of the microprocessor and code of the JN5168 I am trying to get a blinky application to run. The problem is that i can't find any sort of main(). I know the AN is a RTOS so it mimics multitasking. but to start this it had to start somewhere.
I have searched for zps_eAplZdoStartStack() in the AN but that reffers to .libs instead of normal C code. Is there something i am missing or is there someone who can give me a tip in where to look?
Dirk van Grunsven
If you look into the app_start_light.c You will find the PUBLIC void vAppMain(void), and if you want to set up a DIO for toggle a led, you could set after the
/* Early call to Bulb initialization to enable fast start-up */
5. Digital Inputs/Outputs (DIOs)
Thank you Mario and Youp!
This was exactly what i was searching for. Now i can get get some feedback from the UART and get some controle of the JN5168!
youpko, if you would like you could message me. maybe we could help each other in this goal!