Hi fporter,
If you want to change the slave address, if the slave is not started, you can modify the address directly.
I also think you can use your flow that:
- call the <name>_I2C_Disable() function,
- set the slave address (repeat the above line of code but with desired address). You can use the register to modify your slave address directly.
- call the <name>_I2C_Enable function
Please try it on your side.
Wish it helps you!
If you still have questions about it, please kindly let me know!
Best Regards,
Kerry
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-----------------------------------------------------------------------------