Mixly Block Category - Communicate

From Microduino Wiki
Jump to: navigation, search

Infrared

The Arduino IRremote library lets you control your Arduino through a standard infrared remote control, or use your Arduino to control other devices (TV, stereo, etc).


Read more here: https://github.com/z3t0/Arduino-IRremote/wiki

Enable IR In

IR Receive

IR Send

IR Receive (RAW)

I2C

These blocks allows you to communicate with I2C / TWI devices.


Read more here: https://www.arduino.cc/en/Reference/Wire

I2C (Master) Write

A Master device runs this block which writes data to a Slave device.

  • Slave device address - address of the slave address that data will be written to.
  • Value - Byte that is written to the slave device.


Read more here: https://www.arduino.cc/en/Reference/WireWrite

I2C (Master) Read

A Master device runs this block which reads data from a Slave device.

  • Slave device address - address of the slave address that data will be read from.
  • Number of bytes - Amount of bytes to read from the slave device.


Read more here: https://www.arduino.cc/en/Reference/WireRead

I2C (Slave) Read

A Slave device runs this block which reads data from the Master device.


Read more here: https://www.arduino.cc/en/Reference/WireRead

I2C (Master) Data Availability from Slave

A slave device


Read more here: https://www.arduino.cc/en/Reference/WireAvailable

SPI

This library allows you to communicate with SPI devices, with the Arduino as the master device.

Read more here: https://www.arduino.cc/en/reference/SPI

Send Data to Slave

Read more here: https://www.arduino.cc/en/Reference/SPITransfer