{"id":28335372,"url":"https://github.com/yoboujon/badapple-phoenixcontact-do32","last_synced_at":"2026-06-24T06:34:12.149Z","repository":{"id":219298912,"uuid":"748690266","full_name":"yoboujon/badapple-phoenixcontact-do32","owner":"yoboujon","description":"\"Bad Apple!\" on the Phoenix Contact \"AXL F DO32/1 1F\" using libmodus","archived":false,"fork":false,"pushed_at":"2024-01-26T15:32:02.000Z","size":4987,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-18T02:39:30.835Z","etag":null,"topics":["bad-apple","cpp","meme","modbus"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yoboujon.png","metadata":{"files":{"readme":"readme.MD","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,"governance":null,"roadmap":null,"authors":null}},"created_at":"2024-01-26T14:54:33.000Z","updated_at":"2024-02-17T16:26:48.000Z","dependencies_parsed_at":"2024-01-26T16:20:17.789Z","dependency_job_id":"29c4227b-6cd6-4de4-924b-8777b87878c1","html_url":"https://github.com/yoboujon/badapple-phoenixcontact-do32","commit_stats":null,"previous_names":["yoboujon/badapple-phoenixcontact-do32"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/yoboujon/badapple-phoenixcontact-do32","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yoboujon%2Fbadapple-phoenixcontact-do32","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yoboujon%2Fbadapple-phoenixcontact-do32/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yoboujon%2Fbadapple-phoenixcontact-do32/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yoboujon%2Fbadapple-phoenixcontact-do32/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yoboujon","download_url":"https://codeload.github.com/yoboujon/badapple-phoenixcontact-do32/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yoboujon%2Fbadapple-phoenixcontact-do32/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34720920,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-24T02:00:07.484Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["bad-apple","cpp","meme","modbus"],"created_at":"2025-05-26T21:57:57.240Z","updated_at":"2026-06-24T06:34:12.141Z","avatar_url":"https://github.com/yoboujon.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bad Apple! On the Phoenix Contact `AXL F DO32/1 1F`\n\nThis little project has been made to test out the guts this module can have. I don't plan to modify this code in the future.\n\n## How to build the project\n\n### Downloading the libraries\n\n#### 🌍 Libmodbus\n\nUnder the `vendor` folder inside `libmodbus` you will have to go in a bash and type those commands :\n\n```sh\nmkdir bin\nmkdir lib\nmkdir include\n```\n\nDownload the latest Windows x64 version of the libmodbus [here](https://github.com/stephane/libmodbus/wiki/Compile-dll-under-Windows-with-Visual-Studio-2008-Express). Copy the **Release** `.lib` and put it in the `lib` folder, do the same for the `.dll` inside the bin, and then copy and paste all the header files.\n\n#### 💡 OpenCV\n\nUnder the `vendor` folder inside `opencv` you will have to go in a bash and type those commands :\n\n```sh\nmkdir bin\nmkdir lib\nmkdir include\n```\n\nDownload the latest OpenCV for Windows [here](https://opencv.org/releases/). Inside the extracted folder go to \"opencv\\build\\x64\\vc16\", copy both `lib` and `bin` folders. then go to \"opencv\\build\\include\" and copy its content in the `include` folder.\n\n### Compiling\n\nThis code only compiles on Windows unfortunetly, to compile, go to the root folder and create the build folder :\n\n```sh\nmkdir build\ncd build\n```\nThen you can build in two build modes:\n```sh\ncmake -DCMAKE_BUILD_TYPE=Debug ..\ncmake --build . --config Debug\n```\nor\n```sh\ncmake -DCMAKE_BUILD_TYPE=Release ..\ncmake --build . --config Release\n```\n**Simply run the program afterwards!**\n\n### ❗ If you are using CMake on Visual Studio Code ❗\n\nBe sure that in your `settings.json` you add the following lines:\n```json\n\"cmake.configureSettings\": {\n   \"CMAKE_BUILD_TYPE\": \"${buildType}\"\n}\n```\n\nOtherwise it won't compile. The library used (mainly openCV) requires a build type for each `.dll`/`.lib`.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyoboujon%2Fbadapple-phoenixcontact-do32","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyoboujon%2Fbadapple-phoenixcontact-do32","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyoboujon%2Fbadapple-phoenixcontact-do32/lists"}