Skip to main content

LEGO Mindstorms EV3 Debian C library + Python, Ruby and Perl wrappers

Project description

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

ev3dev-c    0.8b1
            2015-10-07

kernel      3.16.7-ckt16-7-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 or easy_install to install ev3dev-c Python package, e.g.

    pip install --pre ev3dev-c

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

The 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" files for?

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

* * *  How can I see some examples?

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

There are a few more examples on C in "eg" folder:
"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
> bin/light
or
> bin\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 a static library?

> cd source/ev3/
> make
> make install

___          _________________________________
___ GET HELP _________________________________

Docs generated by Doxygen can be found on

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

___     ______________________________________
___ GIT ______________________________________

Enter in the following on your command-line to clone the library
repository:

    git clone https://github.com/in4lio/ev3dev-c.git

___         __________________________________
___ CONTACT __________________________________

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

___         __________________________________
___ LICENSE __________________________________

Please see the file called "LICENSE".

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ev3dev-c-0.8b1.zip (182.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ev3dev_c-0.8b1-py2.7.egg (185.3 kB view details)

Uploaded Egg

File details

Details for the file ev3dev-c-0.8b1.zip.

File metadata

  • Download URL: ev3dev-c-0.8b1.zip
  • Upload date:
  • Size: 182.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ev3dev-c-0.8b1.zip
Algorithm Hash digest
SHA256 027f72b9c52e2449c8c3ce5ef48eed9eff4176b44b17e536826b94b33a317e52
MD5 f2fc339c6f65cfd491728aeb7dd93a98
BLAKE2b-256 bd3237d69035c083410ebf9c1f2ee4236a288479988855886b54aaa4c93455c9

See more details on using hashes here.

File details

Details for the file ev3dev_c-0.8b1-py2.7.egg.

File metadata

  • Download URL: ev3dev_c-0.8b1-py2.7.egg
  • Upload date:
  • Size: 185.3 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ev3dev_c-0.8b1-py2.7.egg
Algorithm Hash digest
SHA256 a07b78bde879066f141b7b046f7fa0ea9e4eae6ad245ebbed8bdf869ed63b1c5
MD5 36c6de630e7b705488fb442901c8721d
BLAKE2b-256 e51e6c36aab11304abc6e20ba98bdf3f57fb4ad558580dcd0fa9e8e2becc30ad

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page