Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 4928

SPI and I2C together

$
0
0
Hi Friends,

I am working on PIC16LF1939. I am using spi to communicate with another microcontroller.
I have to use I2c protocol to glow the LED's. As PIC16LF1939 has only one MSSP how can we achieve both at the same time?

Please let me know and if possible give an example in 'C' code to achieve it.

Thanks & regards,
Sarvanan.

Viewing all articles
Browse latest Browse all 4928

Trending Articles