Quantcast
Channel: Renesas Synergy Platform
Viewing all articles
Browse latest Browse all 23645

Forum Post: I2C Question

$
0
0
I used the configurator to set up my slave address (i2c object is g_i2c). However, at one point, I need to change the address of the device I am talking to (everything else remains the same): //Step 3: Change Slave Address Reference g_i2c_cfg.slave = EEPROM_HDR_ADDR; //Assigne new address It fails because "assignment of member 'slave' in read-only object." How do I change to the slave address I want to communicate with.

Viewing all articles
Browse latest Browse all 23645

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>