Difference between revisions of "Mixly Block Category - Communicate"

From Microduino Wiki
Jump to: navigation, search
(Created page with "=Infrared Receive= =Infrared Send =Enable Infrared from Pin#= =Infrared Receive Data from Pin#= =Infrared Send Data on Pin#= =I2C (Master) Write= =I2C (Master) Read= =I2C (Sla...")
 
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
=Infrared Receive=
+
=Infrared=
=Infrared Send
+
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).
=Enable Infrared from Pin#=
+
 
=Infrared Receive Data from Pin#=
+
 
=Infrared Send Data on Pin#=
+
Read more here: https://github.com/z3t0/Arduino-IRremote/wiki
=I2C (Master) Write=
+
==Enable IR In==
=I2C (Master) Read=
+
==IR Receive==
=I2C (Slave) Read=
+
==IR Send==
=I2C (Master) Data Availability from Slave=
+
==IR Receive (RAW)==
=SPI Send to Slave on Pin#=
+
 
 +
=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

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