Communication Protocols

Serial and Parallel communication is very important in electronics and software. We often need to pass data between parts of a system. SPI, I2C, and UART are some popular communication protocols for electronics.

To use SPI in Energia, use the SPI library. To use I2C in Energia, use the Wire library. To use UART in Energia, use the Serial library.

Sparkfun has a great tutorial on I2C and a great tutorial on SPI and a great tutorial on UART if you want to learn more about them.

Guide Home