hello ... i'm using a 18F2550 for my project and i wish to use I2C communication and external interrupts 0 and 1 in the same time ... YET SDA and INT0 are on the same pin and SCL and INT1 are on the same port also... (i need at least 2 external interrupts for the project) is there any solution please .. ?
Joined: 06 Sep 2003 Posts: 20137
Posted: Sat Jan 13, 2018 6:45 pm
In the #use i2c() statement, specify two other i/o pins that are available
in your design. The compiler will automatically use i2c routines that are
for software i2c.
Joined: 13 Jan 2018 Posts: 10 Location: Tun
Posted: Sat Jan 13, 2018 7:08 pm
thank you for your response ... problem solved
Last edited by eng.mohamedtoumi on Sat Jan 13, 2018 7:18 pm; edited 1 time in total
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum