Post Created date
Reading from sensor with TWI
Thank you for everything you learn me :) My app works.   After so many changes in code i forgot call i2c_init :)
Saturday, 16 March 2019 - 23:11
Reading from sensor with TWI
Thank you for everything David. May i ask you something about debbuging ?  When i debug i call function i2c_start i set start condition in to TWSR, you can see START and...
Saturday, 16 March 2019 - 20:08
Reading from sensor with TWI
David  I'm starting to lose more and more in this new information.   This is my main c. file and lib i have  #include <avr/io.h> // for buttons #include <...
Saturday, 16 March 2019 - 17:33
Reading from sensor with TWI
i2c_start(ADDRESS + I2C_READ); He use same way:   i2c_start_wait(Dev24C02+I2C_READ); I try display value, but ist hard when your comunication failed in second step...
Saturday, 16 March 2019 - 16:18
Reading from sensor with TWI
_status = i2c_start(address | I2C_WRITE); //always check startIts return 0xFF but thats mean that i2c_start(0x27+one bit 1 like Read) dont work because its fail in :   if...
Saturday, 16 March 2019 - 15:08
Reading from sensor with TWI
Thank you David.   I study Arduino code and i understood how to process data and i uses similar way i C with Fleury.   But still when i test i2c_start i get failed to...
Saturday, 16 March 2019 - 12:30
Reading from sensor with TWI
I cant generated START . unsigned char i2c_start(unsigned char address) { uint8_t twst; // send START condition TWCR = (1<<TWINT) | (1<<TWSTA) | (1<...
Saturday, 16 March 2019 - 06:27
Reading from sensor with TWI
Thank you
Friday, 15 March 2019 - 10:23
Reading from sensor with TWI
I don't know how to use his library to counter ack a then generated nack on the last byte I want read. I don't know I can add all his function on my project like another. C. Thank...
Friday, 15 March 2019 - 10:13
Missing tabs
Thx for advise, if I lost again this window I will do like you purpose
Friday, 15 March 2019 - 09:58
Debuging in AVR Studio 4
If I click on the "blob" TWINT and I am in debugging mode in line when check if was TWINT set to 1 and press F11 to another step blob TWINT is set to 0, but in debug I stay on the...
Friday, 15 March 2019 - 09:56
Missing tabs
Re-instalation solved this problem
Friday, 15 March 2019 - 08:47

Pages