{"action":"created","issue":{"url":"https://api.github.com/repos/arduino/Arduino/issues/3636","labels_url":"https://api.github.com/repos/arduino/Arduino/issues/3636/labels{/name}","comments_url":"https://api.github.com/repos/arduino/Arduino/issues/3636/comments","events_url":"https://api.github.com/repos/arduino/Arduino/issues/3636/events","html_url":"https://github.com/arduino/Arduino/issues/3636","id":99638465,"number":3636,"title":"[DOC] Clarify PWM's max resolutions in Zero","user":{"login":"q2dg","id":7274874,"avatar_url":"https://avatars.githubusercontent.com/u/7274874?v=3","gravatar_id":"","url":"https://api.github.com/users/q2dg","html_url":"https://github.com/q2dg","followers_url":"https://api.github.com/users/q2dg/followers","following_url":"https://api.github.com/users/q2dg/following{/other_user}","gists_url":"https://api.github.com/users/q2dg/gists{/gist_id}","starred_url":"https://api.github.com/users/q2dg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/q2dg/subscriptions","organizations_url":"https://api.github.com/users/q2dg/orgs","repos_url":"https://api.github.com/users/q2dg/repos","events_url":"https://api.github.com/users/q2dg/events{/privacy}","received_events_url":"https://api.github.com/users/q2dg/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/arduino/Arduino/labels/Component:%20Documentation","name":"Component: Documentation","color":"009800"},{"url":"https://api.github.com/repos/arduino/Arduino/labels/Waiting%20for%20feedback","name":"Waiting for feedback","color":"fef2c0"}],"state":"open","locked":false,"assignee":{"login":"agdl","id":2743774,"avatar_url":"https://avatars.githubusercontent.com/u/2743774?v=3","gravatar_id":"","url":"https://api.github.com/users/agdl","html_url":"https://github.com/agdl","followers_url":"https://api.github.com/users/agdl/followers","following_url":"https://api.github.com/users/agdl/following{/other_user}","gists_url":"https://api.github.com/users/agdl/gists{/gist_id}","starred_url":"https://api.github.com/users/agdl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agdl/subscriptions","organizations_url":"https://api.github.com/users/agdl/orgs","repos_url":"https://api.github.com/users/agdl/repos","events_url":"https://api.github.com/users/agdl/events{/privacy}","received_events_url":"https://api.github.com/users/agdl/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/arduino/Arduino/milestones/15","html_url":"https://github.com/arduino/Arduino/milestones/Release%201.6.6","labels_url":"https://api.github.com/repos/arduino/Arduino/milestones/15/labels","id":1158070,"number":15,"title":"Release 1.6.6","description":"","creator":{"login":"ffissore","id":510465,"avatar_url":"https://avatars.githubusercontent.com/u/510465?v=3","gravatar_id":"","url":"https://api.github.com/users/ffissore","html_url":"https://github.com/ffissore","followers_url":"https://api.github.com/users/ffissore/followers","following_url":"https://api.github.com/users/ffissore/following{/other_user}","gists_url":"https://api.github.com/users/ffissore/gists{/gist_id}","starred_url":"https://api.github.com/users/ffissore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ffissore/subscriptions","organizations_url":"https://api.github.com/users/ffissore/orgs","repos_url":"https://api.github.com/users/ffissore/repos","events_url":"https://api.github.com/users/ffissore/events{/privacy}","received_events_url":"https://api.github.com/users/ffissore/received_events","type":"User","site_admin":false},"open_issues":66,"closed_issues":464,"state":"open","created_at":"2015-06-10T07:48:32Z","updated_at":"2015-09-04T13:46:26Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2015-08-07T12:28:44Z","updated_at":"2015-09-04T14:14:15Z","closed_at":null,"body":"As Arduino Zero has a 10-bit DAC, I suppose that's mean it will support only 10-bit PWM but on http://www.arduino.cc/en/Guide/ArduinoZero is said that \"it can support up to 12-bit ADC and PWM resolutions...\" So there is something which doesn't fall into place.\r\n\r\nMoreover, I think https://www.arduino.cc/en/Reference/AnalogReadResolution and https://www.arduino.cc/en/Reference/AnalogWriteResolution needs a little make-up because they were written only with Due in mind.\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/arduino/Arduino/issues/comments/137747687","html_url":"https://github.com/arduino/Arduino/issues/3636#issuecomment-137747687","issue_url":"https://api.github.com/repos/arduino/Arduino/issues/3636","id":137747687,"user":{"login":"q2dg","id":7274874,"avatar_url":"https://avatars.githubusercontent.com/u/7274874?v=3","gravatar_id":"","url":"https://api.github.com/users/q2dg","html_url":"https://github.com/q2dg","followers_url":"https://api.github.com/users/q2dg/followers","following_url":"https://api.github.com/users/q2dg/following{/other_user}","gists_url":"https://api.github.com/users/q2dg/gists{/gist_id}","starred_url":"https://api.github.com/users/q2dg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/q2dg/subscriptions","organizations_url":"https://api.github.com/users/q2dg/orgs","repos_url":"https://api.github.com/users/q2dg/repos","events_url":"https://api.github.com/users/q2dg/events{/privacy}","received_events_url":"https://api.github.com/users/q2dg/received_events","type":"User","site_admin":false},"created_at":"2015-09-04T14:14:15Z","updated_at":"2015-09-04T14:14:15Z","body":"Well, maybe in https://www.arduino.cc/en/Reference/AnalogWriteResolution should be added a paragraph like this (after the one related to Due):\r\n\r\nThe Zero has the following hardare capabilities:\r\n    1x? pins which default to 8-bit PWM, like the AVR-based boards. These can be changed to 12-bit resolution.\r\n    1 pin with 10-bit DAC (Digital-to-Analog Converter). By setting the write resolution to 10, you can use analogWrite() with values between 0 and 1023 to exploit the full DAC resolution\r\n"}}