Skip to content

Latest commit

 

History

History
 
 

eg

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Examples in C

Name Description
dc.c Use of a DC motor
drive.c Comprehensive example based on coroutines
io.c Use of low-level functions
hello.c "Hello world"
light.c LEDs blinking example
port.c Use of EV3 ports
poweroff.c Turn off the EV3 brick remotely
rcx_led.c Use of a RCX LED
remote.c IR remote control using "brick" simplified library
sensor.c TOUCH and COLOR sensors example
servo.c SERVO motor example
tacho.c TACHO motor running for 5 sec
tacho.cpp TACHO motor example in C++

How to make an example

cd ev3dev-c/eg/remote/
make <target>
Makefile targets Description
release Build example using precompiled "ev3dev-c" library
release-clean Remove files created during building release target
debug (default) Build example using the source files of "ev3dev-c" library
debug-clean or clean Remove all files created during building debug target
debug-clean-binary or clean-binary Remove only binary files created during building debug target

See also

Examples in Python
Examples in Perl
Examples in Ruby