When creating an EEL new element for IOT Studio, where do you locate the function definitions from the original C code. I have not found an example that starts from a .c file and end up in an .eel file so far. This has kept me stuck on my development as I find the porting of original .c and .h files into .eel file confusing.
Thanks for your help !
I suggest to take a look at your metadata file of your element. In requires you should have written "gpio" like this:
In your header be sure to include : ../app_src/atmosphere_platform.h and ../atmo/core.h
Let me know if this helps
Yes, I have. I created an EEL to read from an external button so as to learn how to use the EEL tool and the APIs. It looks like that after I created my button.eel and imported into IoT Studio, I get a compile error:
"unknown type name 'ATMO_GPIO_Device_Pin_t'"
I have tried with the following include files unsuccessfully: