{"id":13504748,"url":"https://github.com/in4lio/ev3dev-c","last_synced_at":"2025-03-29T22:31:09.419Z","repository":{"id":20307044,"uuid":"23580900","full_name":"in4lio/ev3dev-c","owner":"in4lio","description":"LEGO MINDSTORMS EV3 Debian C library + Python, Ruby and Perl wrappers","archived":false,"fork":false,"pushed_at":"2020-10-18T11:37:13.000Z","size":23766,"stargazers_count":70,"open_issues_count":5,"forks_count":31,"subscribers_count":15,"default_branch":"stretch","last_synced_at":"2025-03-07T10:49:52.053Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/in4lio.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-09-02T14:04:00.000Z","updated_at":"2025-02-18T01:33:33.000Z","dependencies_parsed_at":"2022-09-06T23:30:21.517Z","dependency_job_id":null,"html_url":"https://github.com/in4lio/ev3dev-c","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/in4lio%2Fev3dev-c","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/in4lio%2Fev3dev-c/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/in4lio%2Fev3dev-c/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/in4lio%2Fev3dev-c/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/in4lio","download_url":"https://codeload.github.com/in4lio/ev3dev-c/tar.gz/refs/heads/stretch","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246254077,"owners_count":20747946,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T00:00:50.720Z","updated_at":"2025-03-29T22:31:04.414Z","avatar_url":"https://github.com/in4lio.png","language":"C","funding_links":[],"categories":["EV3"],"sub_categories":[],"readme":"\n     ____ __     ____   ___    ____ __         (((((()\n    | |_  \\ \\  /   ) ) | |  ) | |_  \\ \\  /  \\(@)- /\n    |_|__  \\_\\/  __)_) |_|_/  |_|__  \\_\\/   /(@)- \\\n                                               ((())))\n    ___         __________________________________\n    ___ VERSION __________________________________\n\n    ev3dev-c    2.0a1.dev5\n                2019-08-04\n\n    kernel      4.14.117-ev3dev-2.3.4-ev3\n    ___             ______________________________\n    ___ WHAT IS IT? ______________________________\n\n    ev3dev-c is a C library for LEGO MINDSTORMS EV3 Debian Linux\n    (http://www.ev3dev.org/) which wraps access to the EV3 hardware.\n\n    The library also supports remote access to the EV3 brick over a network.\n    So, if you configure WLAN on the brick, you can control the EV3 hardware\n    from a remote computer, for example, running under Windows.\n\n    ___                 __________________________\n    ___ GETTING STARTED __________________________\n\n    Before you start, make sure that you have opened an SSH connection\n    to your EV3 brick.\n\n    You need to install the compiler and other tools:\n\n        sudo apt-get update\n        sudo apt-get install build-essential\n        sudo apt-get install git\n\n    Then, clone the library repository and its submodules to the directory\n    of your choice, such as \"/home/robot/ev3dev-c\":\n\n        cd /home/robot/\n        git clone https://github.com/in4lio/ev3dev-c.git\n        cd ev3dev-c/\n        git submodule update --init --recursive\n\n    Compile and install static and shared libraries:\n\n        cd source/ev3/\n        make\n        sudo make install\n        make shared\n        sudo make shared-install\n\n    It's the right time to take a look at a small example. \"hello.c\" outputs\n    a greeting as well as toggles the left LED color:\n\n        cd ../../eg/hello/\n        more ./hello.c\n\n    Let's compile and run this program. Note that we link our example with\n    a static library:\n\n        gcc hello.c -lev3dev-c -o hello\n        ./hello\n\n    See also:\n\n        http://www.ev3dev.org/docs/tutorials/getting-started-with-c/\n\n    ___                       ____________________\n    ___ PYTHON, RUBY and PERL ____________________\n\n    Python (see \"python/ev3dev\" folder), Ruby (see \"ruby\" folder) and\n    Perl (see \"perl\" folder) libraries are automatically generated from\n    C library using SWIG tool.\n\n    Use pip to install ev3dev-c Python package:\n\n        pip install ev3dev-c\n\n    ev3dev-c Python package contains the following binary modules:\n    _ev3.pyd    – for remote control from Windows (x86)\n    _ev3.so     – for LEGO MINDSTORMS EV3 Debian.\n\n    You have to install \"python-dev\", \"ruby-dev\" and \"libperl-dev\"\n    packages to build the corresponding libraries.\n\n    ___          _________________________________\n    ___ GET HELP _________________________________\n\n    Documentation generated by Doxygen can be found on\n\n        http://in4lio.github.io/ev3dev-c/\n\n    ___       ____________________________________\n    ___ F A Q ____________________________________\n\n    * * *  What are unusual \".yu\", \".yu-с\" and \".yu-h\" files for?\n\n    ev3dev-c is written using yupp lexical preprocessor – but don't\n    panic – the generated source files in C also included.\n\n    * * *  How can I see some examples\n\n    Comprehensive example based on coroutines:\n\n        http://in4lio.github.io/ev3dev-c/drive_8c-example.html\n\n    An example of IR remote control using \"brick\" simplified library:\n\n        http://in4lio.github.io/ev3dev-c/remote_8c-example.html\n        http://in4lio.github.io/ev3dev-c/remote_8py-example.html\n\n    Further examples in C:\n\n        https://github.com/in4lio/ev3dev-c/tree/master/eg/\n\n    light.c    – LEDs blinking example\n    sensor.c   – TOUCH and COLOR sensors usage\n    tacho.c    – TACHO motor running for 5 sec\n    port.c     – Use of EV3 ports\n    dc.c       – Use of a DC motor\n    rcx_led.c  – Use of a RCX LED\n    servo.c    – SERVO motor example\n\n    Similar examples also avaible in Python (\"python/ev3dev/eg\"),\n    Ruby (\"ruby/eg\"), and Perl (\"perl/eg\").\n\n    * * *  How to make an example\n\n    For instance, to compile \"light.c\" example:\n\n        cd ev3dev-c/eg/light/\n        make\n\n        ./Debug/light\n\n    or, if you are running Windows:\n\n        .\\Debug\\mingw\\light.exe\n\n    * * *  How to control the EV3 hardware remotely\n\n    https://github.com/in4lio/ev3dev-c/tree/master/source/ev3/ev3_link/\n\n    * * *  How to make and install STATIC library\n\n        cd ev3dev-c/source/ev3/\n        make\n        sudo make install\n\n    * * *  How to make and install SHARED library\n\n        cd ev3dev-c/source/ev3/\n        make shared\n        sudo make shared-install\n\n    * * *  How to use SHARED library\n\n        cd ev3dev-c/eg/port/\n        gcc port.c -lev3dev-c -o port\n\n        ./port\n\n    ___     ______________________________________\n    ___ GIT ______________________________________\n\n    Run the following on your command-line to clone the library\n    repository and its submodules:\n\n        git clone https://github.com/in4lio/ev3dev-c.git\n        cd ev3dev-c/\n        git submodule update --init --recursive\n\n    Pull the latest library and its submodules:\n\n        cd ev3dev-c/\n        git pull origin master\n        git submodule foreach git pull origin master\n\n    ___         __________________________________\n    ___ CONTACT __________________________________\n\n    Please feel free to contact me at in4lio+ev3@gmail.com if you have\n    any questions about this library.\n\n    ___         __________________________________\n    ___ LICENSE __________________________________\n\n    Please see the file called \"LICENSE\".\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fin4lio%2Fev3dev-c","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fin4lio%2Fev3dev-c","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fin4lio%2Fev3dev-c/lists"}