Move definition to a table. Set and read the pins all at once. Drop extra delays. Use existing I2C_Stop to generate proper stop condition.
4.7 KiB
4.7 KiB
Move definition to a table. Set and read the pins all at once. Drop extra delays. Use existing I2C_Stop to generate proper stop condition.