This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

NRF52832 - ADT7410 TWI Communication

Hello,

I want to discuss the following code with you:

www.dropbox.com/.../AABddGcZagoqWHnJqfPrpbm9a

In the main file there are init functions for uart and twi and also get_temperature function for adt7410. I used app_uart_put as debug function. For example at the line at the line 74

app_uart_put('1');

shows the twi_init is successful.

What I want to discuss is at the terminal, I only see 1 as output. adt7410 (twi sensor) related functions does not give any output. What can be the reason?

Thanks all of you take a look at a code!!!

Related