{"id":24966973,"url":"https://github.com/a-bdellatif/software_pwm_generator","last_synced_at":"2025-03-29T02:27:39.390Z","repository":{"id":256844269,"uuid":"851834099","full_name":"a-bdellatif/Software_PWM_Generator","owner":"a-bdellatif","description":"This implementation is useful in case where dedicated PWM hardware is unavailable.","archived":false,"fork":false,"pushed_at":"2024-11-23T12:14:08.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-25T10:27:47.903Z","etag":null,"topics":["c18-compiler","ccp","microchip","microcontroller","pic","pic18f","pic18f452","programming","pwm","pwm-duty-cycle","software"],"latest_commit_sha":null,"homepage":"","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/a-bdellatif.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":"2024-09-03T19:20:38.000Z","updated_at":"2024-12-27T10:46:12.000Z","dependencies_parsed_at":"2024-09-13T11:09:55.300Z","dependency_job_id":"3dafa31a-ffc1-4c58-97c5-09343c6bc032","html_url":"https://github.com/a-bdellatif/Software_PWM_Generator","commit_stats":null,"previous_names":["latoufc/software_pwm_generator","abdellatuf/software_pwm_generator","sysdevj/software_pwm_generator","csculptor/software_pwm_generator","gifork/software_pwm_generator","0xab26/software_pwm_generator","dalifethiabdellatif/software_pwm_generator","lemongrb/software_pwm_generator","a-bdellatif/software_pwm_generator"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-bdellatif%2FSoftware_PWM_Generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-bdellatif%2FSoftware_PWM_Generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-bdellatif%2FSoftware_PWM_Generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-bdellatif%2FSoftware_PWM_Generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/a-bdellatif","download_url":"https://codeload.github.com/a-bdellatif/Software_PWM_Generator/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":236945772,"owners_count":19230110,"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":["c18-compiler","ccp","microchip","microcontroller","pic","pic18f","pic18f452","programming","pwm","pwm-duty-cycle","software"],"created_at":"2025-02-03T12:35:43.256Z","updated_at":"2025-02-03T12:35:44.000Z","avatar_url":"https://github.com/a-bdellatif.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Overview\nThe Software_PWM_Generator project is designed to generate PWM signals with varying duty cycles using a software approach on the PIC18F452 microcontroller. \nThe program utilizes Timer0 for precise timing and an external interrupt to cycle through different duty cycles.\nThis is particularly useful for applications where hardware PWM modules are either unavailable or insufficient.\n\n### Features\n- Generates PWM signals with the following duty cycles: 5%, 25%, 50%, 75%, and 90%.\n- Allows dynamic switching between duty cycles using an external button.\n- Uses Timer0 for precise control over the PWM signal.\n- Employs an external interrupt (INT0) to trigger duty cycle changes.\n\n#### Changing Time : \nIn order to change the full period you have to : \n- Change the value of T0CON register (prescaler configuration).\n- Change the macro variable MAX_HIGH_LOW to your value.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa-bdellatif%2Fsoftware_pwm_generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fa-bdellatif%2Fsoftware_pwm_generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa-bdellatif%2Fsoftware_pwm_generator/lists"}