{"id":21917479,"url":"https://github.com/clusterm/omega2-pwm","last_synced_at":"2025-04-19T09:43:54.234Z","repository":{"id":69562688,"uuid":"97989040","full_name":"ClusterM/omega2-pwm","owner":"ClusterM","description":"Simple program to control hardware PWM on Omega2","archived":false,"fork":false,"pushed_at":"2024-02-20T18:56:56.000Z","size":18,"stargazers_count":23,"open_issues_count":0,"forks_count":8,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-16T02:06:11.162Z","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":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ClusterM.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}},"created_at":"2017-07-21T21:48:21.000Z","updated_at":"2023-11-07T08:35:31.000Z","dependencies_parsed_at":"2023-05-16T18:15:50.477Z","dependency_job_id":null,"html_url":"https://github.com/ClusterM/omega2-pwm","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ClusterM%2Fomega2-pwm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ClusterM%2Fomega2-pwm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ClusterM%2Fomega2-pwm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ClusterM%2Fomega2-pwm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ClusterM","download_url":"https://codeload.github.com/ClusterM/omega2-pwm/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249666757,"owners_count":21308153,"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-28T19:32:47.620Z","updated_at":"2025-04-19T09:43:54.213Z","avatar_url":"https://github.com/ClusterM.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Omega2 PWM\nThis is simple program to control hardware PWM on Omega2. For some reason Omega2 has not any util to control **hardware** PWM. There is only **fast-gpio** tool, it uses software PWM which is awful for sound generation.\n\n\n## Usage\n\nChannel #0 is pin #18, channel #1 is pin #19. Channels #2 and #3 are available on Omega2S only (UART2 pins).\n\nBefore usage you must set GPIO muxing using **omega2-ctrl** tool:\n\n    omega2-ctrl gpiomux set pwm0 pwm\n    \nor\n\n    omega2-ctrl gpiomux set pwm1 pwm\n\nThen use this tool:\n\n    pwm \u003cchannel\u003e \u003cfrequency\u003e [duty]\n\nExample to generate 3000Hz on channel #1 with 50% duty:\n\n    pwm 1 3000 50\n    \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclusterm%2Fomega2-pwm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclusterm%2Fomega2-pwm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclusterm%2Fomega2-pwm/lists"}