Hi,
i am totally beginner to the nrf ,i couldn't able to understand the TWI sensor program
where i will find the API , funtion definition
i want to understand each and every line , for this what i want to do
Hi,
i am totally beginner to the nrf ,i couldn't able to understand the TWI sensor program
where i will find the API , funtion definition
i want to understand each and every line , for this what i want to do
Hi,
The TWI sensor example application is quite simple, so it should be fairly easy to follow. It uses the TWI driver, which is documented here. You can refer to the included header files or the API documentation Infocenter to see how it is used.
You may also want to look at SDK Getting Started and one of the Software development Getting Started Guides as you are new to nRF development.
for understanding the program what are the things i should know . some of the API i couldn't able to understand , i am facing difficulties . please help me
i am totally beginner to the nrf
So do you have any experience with any other microcontroller(s)?
Do you have any experience with 'C' programming in general ?
Do you understand how I2C (aka "TWI") works?
where i will find the API , funtion definition
All the SDK documentation is here: http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk/keydef/PLUGINS_ROOT/com.nordic.infocenter.sdk5.v15.2.0/index.html?cp=4_0_0
The documentation is also in the source: each header file has comments which describe each function, data type, etc.
You haven't mentioned what IDE you're using, but they all have some facility which will allow you to click on a function, variable, type, or #define name and go to where it is declared - that will get you to the above-mentioned comments.
for understanding the program what are the things i should know
See my other reply: you will need a good understanding of the 'C' programming language, a basic understanding of how I2C works, and a familiarity with microcontrollers in general.
yes i am good in c programming . i know how does it work i2c