Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

 ____ __     ____   ___    ____ __         (((((()
| |_  \ \  /   ) ) | |  ) | |_  \ \  /  \(@)- /
|_|__  \_\/  __)_) |_|_/  |_|__  \_\/   /(@)- \
                                           ((())))
___         __________________________________
___ VERSION __________________________________

ev3dev-c    0.9b6
            2017-02-08

kernel      4.4.44-18-ev3dev-ev3
___             ______________________________
___ WHAT IS IT? ______________________________

ev3dev-c is a C library for LEGO Mindstorms EV3 Debian
(http://www.ev3dev.org/) which wraps an access to the EV3 hardware.

The library also supports a remote access to the EV3 brick over UDP.
So, if you set up WLAN on the brick you will be able to drive
the EV3 hardware from your computer, e.g. under Windows.

Python (see "python/ev3dev" folder), Ruby (see "ruby" folder) and
Perl (see "perl" folder) libraries are automatically generated from
C library using SWIG tool.

Use pip to install ev3dev-c Python package:

    pip install --pre ev3dev-c

ev3dev-c is currently in a beta stage, therefore you have to use
the key "--pre".

Python package contains the following binary modules:
_ev3.pyd    – for a remote access, under Windows (x86);
_ev3.so     – for LEGO Mindstorms EV3 Debian.

You have to install "python-dev", "ruby-dev" and "libperl-dev"
packages to build the corresponding library.

___       ____________________________________
___ F A Q ____________________________________

* * *  What are unusual ".yu", ".yu-с" and ".yu-h" files for?

ev3dev-c is written using yupp lexical preprocessor, but don't
panic, generated source files in C also included.

* * *  How can I see some examples?

The comprehensive example based on coroutines:

    http://in4lio.github.io/ev3dev-c/drive_8c-example.html

The example of using "brick" simplified library:

    http://in4lio.github.io/ev3dev-c/remote_8c-example.html
    http://in4lio.github.io/ev3dev-c/remote_8py-example.html

There are a few more examples on C in

    https://github.com/in4lio/ev3dev-c/blob/master/eg/

light    – LEDs blinking example
sensor   – TOUCH and COLOR sensors example
tacho    – TACHO motor running for 5 sec
port     – Using EV3 ports
dc       – Using DC motor
rcx_led  – Using RCX LED
servo    – SERVO motor example

> cd eg/light/
> make
> Debug/light
or
> Debug\mingw\light.exe

Similar examples on Python could be found in "python/ev3dev/eg".
Examples on Ruby are placed in "ruby/eg", on Perl in "perl/eg".

* * *  How to drive the EV3 hardware remotely

https://github.com/in4lio/ev3dev-c/tree/master/source/ev3/ev3_link/

* * *  How to make and install STATIC library

> cd source/ev3/
> make
> make install

* * *  How to make and install SHARED library

> cd source/ev3/
> make shared
> make shared-install

* * *  How to use SHARED library

> cd eg/port/
> gcc port.c -lev3dev-c -o port
> export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
> ./port

___          _________________________________
___ GET HELP _________________________________

Docs generated by Doxygen can be found on

    http://in4lio.github.io/ev3dev-c/

___     ______________________________________
___ GIT ______________________________________

Run the following on your command-line to clone the library
repository and its submodules:

    git clone https://github.com/in4lio/ev3dev-c.git
    cd ev3dev-c
    git submodule update --init --recursive

To pull the latest library and its submodules:

    cd ev3dev-c
    git pull origin master
    git submodule foreach git pull origin master

___         __________________________________
___ CONTACT __________________________________

Please feel free to contact me at in4lio+ev3@gmail.com if you have
any questions about the library.

___         __________________________________
___ LICENSE __________________________________

Please see the file called "LICENSE".

Metadata

Release files for ev3dev-c 0.9b6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ev3dev-c 0.9b6
File Size Uploaded
ev3dev-c-0.9b6.tar.gz 487.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ev3dev-c 0.9b6
File Interpreter ABI Platform
ev3dev_c-0.9b6-py2.7.egg Legacy Egg format - - Details

Total release size: 991.0 kB

Release files / ev3dev-c-0.9b6.tar.gz

Download URL ev3dev-c-0.9b6.tar.gz
Size 487.9 kB
Tags Source
SHA-256 checksum
How to use checksums
2cafc1073941f383280e073dd88747e67a2ea16615695ad9f1bfb071bf162f9d
BLAKE2b-256 checksum
How to use checksums
79cfd8f0231c724551085082603da24fae7b0d17592f05280bbde5bef222b9a9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / ev3dev_c-0.9b6-py2.7.egg

Download URL ev3dev_c-0.9b6-py2.7.egg
Size 503.1 kB
Tags Egg
SHA-256 checksum
How to use checksums
87afb5643037da5038afea8c3f09a7bf38fe8878dc88e14cc0b532d3d44a86bd
BLAKE2b-256 checksum
How to use checksums
b26228d944b927bd241cab657641a09c947a241aee697977af7843ca8e177dc4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page