{"id":19138060,"url":"https://github.com/lemonpi/motorshieldcontroller","last_synced_at":"2025-11-12T18:04:50.209Z","repository":{"id":73435573,"uuid":"110364090","full_name":"LemonPi/MotorShieldController","owner":"LemonPi","description":"Motor controller for Arduino through a motor shield","archived":false,"fork":false,"pushed_at":"2017-11-11T17:37:01.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-03T13:52:24.846Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LemonPi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2017-11-11T17:10:01.000Z","updated_at":"2017-11-11T17:10:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"f658c8e3-e81b-4153-81b7-53c3a0b28bde","html_url":"https://github.com/LemonPi/MotorShieldController","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/LemonPi%2FMotorShieldController","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LemonPi%2FMotorShieldController/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LemonPi%2FMotorShieldController/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LemonPi%2FMotorShieldController/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LemonPi","download_url":"https://codeload.github.com/LemonPi/MotorShieldController/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240217215,"owners_count":19766728,"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-11-09T06:41:37.003Z","updated_at":"2025-11-12T18:04:45.190Z","avatar_url":"https://github.com/LemonPi.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Arduino library for a H-Bridge motor controller (driver) of a single motor\n\nTwo ways to use this:\n1. Drop directory directly inside sketch\n\nor\n\n1. Move directory under Arudino libraries directory\n2. In Arduino IDE with sketch open select Sketch \u003e Include Library \u003e WheelEncoder (should be under Contributed Libraries)\n\n## Usage\n\nConnect pins according to data sheet\n\n```c++\n#include \u003cArduino.h\u003e\n#include \u003cMotorShieldController.h\u003e\n\n// shield pins\nconstexpr auto DIR_LEFT = 13;\nconstexpr auto ENABLE_LEFT = 11;\n\nconstexpr auto DIR_RIGHT = 12;\nconstexpr auto ENABLE_RIGHT = 10;\n\nMotorShieldController mc(DIR_LEFT, DIR_RIGHT, ENABLE_LEFT, ENABLE_RIGHT);\n\nvoid setup() {\n}\n\nvoid loop() {\n    mc.setLeftVelocity(50);\n    mc.setRightVelocity(-50);\n    mc.go();\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flemonpi%2Fmotorshieldcontroller","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flemonpi%2Fmotorshieldcontroller","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flemonpi%2Fmotorshieldcontroller/lists"}