{"action":"created","issue":{"url":"https://api.github.com/repos/StefanBruens/ESP8266_new_pwm/issues/5","repository_url":"https://api.github.com/repos/StefanBruens/ESP8266_new_pwm","labels_url":"https://api.github.com/repos/StefanBruens/ESP8266_new_pwm/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/StefanBruens/ESP8266_new_pwm/issues/5/comments","events_url":"https://api.github.com/repos/StefanBruens/ESP8266_new_pwm/issues/5/events","html_url":"https://github.com/StefanBruens/ESP8266_new_pwm/issues/5","id":183961221,"number":5,"title":"Exact replacement of libpwm.a","user":{"login":"diffstorm","id":1098608,"avatar_url":"https://avatars.githubusercontent.com/u/1098608?v=3","gravatar_id":"","url":"https://api.github.com/users/diffstorm","html_url":"https://github.com/diffstorm","followers_url":"https://api.github.com/users/diffstorm/followers","following_url":"https://api.github.com/users/diffstorm/following{/other_user}","gists_url":"https://api.github.com/users/diffstorm/gists{/gist_id}","starred_url":"https://api.github.com/users/diffstorm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diffstorm/subscriptions","organizations_url":"https://api.github.com/users/diffstorm/orgs","repos_url":"https://api.github.com/users/diffstorm/repos","events_url":"https://api.github.com/users/diffstorm/events{/privacy}","received_events_url":"https://api.github.com/users/diffstorm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-19T13:26:46Z","updated_at":"2016-10-24T14:21:42Z","closed_at":null,"body":"Hi,\r\n\r\nCould you share it as closed library named libpwm.a like exact replacement of the original one?\r\n\r\nI'm using Arduino version of esp8266 software and I don't know how to add the pwm.c file to the project and where to configure it for just 3 pwm pins for rgb led controller.\r\n\r\nThanks in advance"},"comment":{"url":"https://api.github.com/repos/StefanBruens/ESP8266_new_pwm/issues/comments/255754284","html_url":"https://github.com/StefanBruens/ESP8266_new_pwm/issues/5#issuecomment-255754284","issue_url":"https://api.github.com/repos/StefanBruens/ESP8266_new_pwm/issues/5","id":255754284,"user":{"login":"diffstorm","id":1098608,"avatar_url":"https://avatars.githubusercontent.com/u/1098608?v=3","gravatar_id":"","url":"https://api.github.com/users/diffstorm","html_url":"https://github.com/diffstorm","followers_url":"https://api.github.com/users/diffstorm/followers","following_url":"https://api.github.com/users/diffstorm/following{/other_user}","gists_url":"https://api.github.com/users/diffstorm/gists{/gist_id}","starred_url":"https://api.github.com/users/diffstorm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diffstorm/subscriptions","organizations_url":"https://api.github.com/users/diffstorm/orgs","repos_url":"https://api.github.com/users/diffstorm/repos","events_url":"https://api.github.com/users/diffstorm/events{/privacy}","received_events_url":"https://api.github.com/users/diffstorm/received_events","type":"User","site_admin":false},"created_at":"2016-10-24T14:21:42Z","updated_at":"2016-10-24T14:21:42Z","body":"Thank you @nepeee for your help. I have implemented it as you pointed and it works.\r\n\r\nI have 3 questions;\r\n\r\n* I have added 255 as period. Is it good?\r\n\r\n* Can I change the following definition's value to 3 from pwm.h file?\r\n#define PWM_CHANNEL_NUM_MAX 8\r\nNote: I observed that the pwm.c file does not include the pwm.h from my project. So when I remove the PWM_CHANNEL_NUM_MAX definition from pwm.c file, it warns me that it is not declared.\r\nThere is a bit confusing.\r\n\r\n* Should I use PWM_USE_NMI 1 for better performance? It seems has no issue without it but if it is better, I will switch to it."}}
{"actor":{"display_login":"diffstorm"}}