Interacting with the EV3 Hardware

lego_nxt_ev3_motors_sensors
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:

Motors
Sensors
Buttons and LEDs
LCD

Prev >> Hello World! Program
Next >> Motors