{"id":18142455,"url":"https://github.com/benoitberanger/parport_cenir","last_synced_at":"2026-05-05T12:31:53.311Z","repository":{"id":117580504,"uuid":"58389909","full_name":"benoitberanger/parport_cenir","owner":"benoitberanger","description":"Parallel port source code written in C for MATLAB/Octave in Linux. To be compiled in mex.","archived":false,"fork":false,"pushed_at":"2018-01-05T17:47:55.000Z","size":29,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-13T01:25:34.921Z","etag":null,"topics":["c","db25","linux","matlab","mex","octave","parallel-port"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/benoitberanger.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-05-09T16:02:56.000Z","updated_at":"2023-10-16T16:18:09.000Z","dependencies_parsed_at":"2024-07-23T23:01:20.123Z","dependency_job_id":null,"html_url":"https://github.com/benoitberanger/parport_cenir","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benoitberanger%2Fparport_cenir","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benoitberanger%2Fparport_cenir/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benoitberanger%2Fparport_cenir/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benoitberanger%2Fparport_cenir/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/benoitberanger","download_url":"https://codeload.github.com/benoitberanger/parport_cenir/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247535932,"owners_count":20954648,"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":["c","db25","linux","matlab","mex","octave","parallel-port"],"created_at":"2024-11-01T18:22:03.879Z","updated_at":"2026-05-05T12:31:48.283Z","avatar_url":"https://github.com/benoitberanger.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Parallel port source code written in C for MATLAB/Octave in **Linux**. To be compiled in mex.\n\nPurpose\n-------\nWhen compiled (see below), this program `ppmex` allows you to send messages through the parallel port (DB25) on a Linux system,\nvia MATLAB or Octave.\n\nTest if you can compile MEX files\n---------------------------------\nIn [helloworld-test-compile-mex](helloworld-test-compile-mex) subdir, you will find [helloworldMEX.c](helloworld-test-compile-mex/helloworldMEX.c).  \nWhen, in MATLAB/Octave, you are in this folder, enter `mex -O helloworldMEX.c`.  \nIf the compilation is complet, you should have a new file such as *helloworldMEX.mex**  \n\nCompilation\n-----------\nWhen you have tested the compilation process (see above), simply type `mex -O -v ppmex.c` in the root dir.  \nThe _warning_ about the line #21 `extern int pport = 0;` is nothing to worry about.  \nWhen completed, a file *ppmex.mex** should have been created.  \n\nUsage\n-----\n```\nppmex('open')          : opens  the device, and get it ready to send messages  \nppmex('write',message) : sends  the message = {0, 1, 2, ..., 255} uint8  \nppmex('close')         : closes the device  \n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenoitberanger%2Fparport_cenir","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenoitberanger%2Fparport_cenir","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenoitberanger%2Fparport_cenir/lists"}