Difference between revisions of "Mixly Block Category - Communicate"

From Microduino Wiki
Jump to: navigation, search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
=Infrared=
 
=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 Receive==
 
==IR Send==
 
==IR Send==
==Enable IR In==
 
 
==IR Receive (RAW)==
 
==IR Receive (RAW)==
  
 
=I2C=
 
=I2C=
 +
These blocks allows you to communicate with I2C / TWI devices.
 +
 +
 +
Read more here: https://www.arduino.cc/en/Reference/Wire
 
==I2C (Master) Write==
 
==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==
 
==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==
 
==I2C (Slave) Read==
==I2C (Master) Data Availability from Slave=
+
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=
 
=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==
 
==Send Data to Slave==
 +
 +
 +
Read more here: https://www.arduino.cc/en/Reference/SPITransfer

Latest revision as of 01:50, 22 February 2017

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