Interacting with the EV3 Hardware

When the Linux kernel starts, it loads several modules that provide access to the hardware. Users can communicate with the hardware using standard file operations.  All the programs that interact with the EV3 hardware use the following three include files that are part of the EV3 source code (lms2012.h, bytecodes.h and lmstypes.h). The codes can be copied and pasted from the links. They must be placed in the same work directory as the user programs. The following examples show how to use the different EV3 hardware components:

Buttons and LEDs

Prev >> Hello World! Program
Next >> Motors