The previous two chapters used an inter-integrated circuit (I2C) interface for a sensor to communicate with the Arduino. The Arduino sketches associated with these projects had the I2C setup built in by using Arduino sketches from sensor developers, so the user doesn’t really get into details on the I2C operation. But I2C can also be used to communicate between the Arduino and the EV3 Intelligent Brick, passing bytes of data back and forth between the two devices. This chapter explores how to implement this I2C connection, based on a programming block built by Dexter Industries. ...
Get The LEGO Arduino Cookbook: Expanding the Realm of MINDSTORMS EV3 Invention now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.