Hi
The compiling of standard TWI sensor example is giving me an error with SES.
Please find attached a snapshot of the issue.
Need your help ASAP. Thanks
Chandra
Hi
The compiling of standard TWI sensor example is giving me an error with SES.
Please find attached a snapshot of the issue.
Need your help ASAP. Thanks
Chandra
Hi,
Looks like you have changed something in the example, most likely the sdk_config.h file. What did you change?
If you intended to use the example without modifications, please download the SDK again and extract a clean copy to your PC.
Best regards,
Jørgen
The unmodified example does not generate any compile errors (I just tested this). Please try with a fresh copy of the SDK.
Hi Jorgen
Thanks for the info. Yes, with a fresh copy it is working.
If I change sdk_config.h for one example, will it affect other examples also. In the previous case, I changed sdk_config.h for another example and this one got messed up without any changes on the current sdk.h.
Also, what is the difference between TWIM_ and TWI_.
One final question:
1. For a standard BT example (like say BLE_APP_UART), if I want to add a TWI sensor, what is the procedure
2. Macros required (say TWI_ENABLED 1 or so)
3. Where to define them ? In Prj->Options->Preprocessor or sdk_config.h
Thanks,and Regards
Chandra
Hi Jorgen
Thanks for the info. Yes, with a fresh copy it is working.
If I change sdk_config.h for one example, will it affect other examples also. In the previous case, I changed sdk_config.h for another example and this one got messed up without any changes on the current sdk.h.
Also, what is the difference between TWIM_ and TWI_.
One final question:
1. For a standard BT example (like say BLE_APP_UART), if I want to add a TWI sensor, what is the procedure
2. Macros required (say TWI_ENABLED 1 or so)
3. Where to define them ? In Prj->Options->Preprocessor or sdk_config.h
Thanks,and Regards
Chandra