{"action":"created","comment":{"url":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/pulls/comments/221705915","pull_request_review_id":160420415,"id":221705915,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyMTcwNTkxNQ==","diff_hunk":"@@ -0,0 +1,24 @@\n+#define __STDC_FORMAT_MACROS\n+#include <inttypes.h>\n+#include <stdio.h>\n+#include <stdint.h>\n+\n+\n+uint16_t rgb_888_to_565(uint32_t rgb888);\n+\n+\n+int main ()\n+{\n+    printf(\"RGB888 = 0x%X; RGB565 = 0x%X\\n\", 0x45a1, rgb_888_to_565(0x45a1));\n+    \n+    return 0;\n+}\n+\n+uint16_t rgb_888_to_565(uint32_t rgb888)","path":"lecture_2/rgb_convert.c","position":17,"original_position":17,"commit_id":"f37bbd72f2847d98a00e37b0087c2653f2509a89","original_commit_id":"b42e61a91115a7c2d16b5fc0ada398b25ad847b4","user":{"login":"abigsam","id":29130997,"node_id":"MDQ6VXNlcjI5MTMwOTk3","avatar_url":"https://avatars2.githubusercontent.com/u/29130997?v=4","gravatar_id":"","url":"https://api.github.com/users/abigsam","html_url":"https://github.com/abigsam","followers_url":"https://api.github.com/users/abigsam/followers","following_url":"https://api.github.com/users/abigsam/following{/other_user}","gists_url":"https://api.github.com/users/abigsam/gists{/gist_id}","starred_url":"https://api.github.com/users/abigsam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abigsam/subscriptions","organizations_url":"https://api.github.com/users/abigsam/orgs","repos_url":"https://api.github.com/users/abigsam/repos","events_url":"https://api.github.com/users/abigsam/events{/privacy}","received_events_url":"https://api.github.com/users/abigsam/received_events","type":"User","site_admin":false},"body":"I saw this article. But at lection was mentioned that this exercise need to train me to work with bit shift operations.","created_at":"2018-10-01T18:13:54Z","updated_at":"2018-10-01T18:13:54Z","html_url":"https://github.com/abigsam/GL_EmbeddedProCamp/pull/2#discussion_r221705915","pull_request_url":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/pulls/2","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/pulls/comments/221705915"},"html":{"href":"https://github.com/abigsam/GL_EmbeddedProCamp/pull/2#discussion_r221705915"},"pull_request":{"href":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/pulls/2"}},"in_reply_to_id":221530990},"pull_request":{"url":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/pulls/2","id":217585029,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE3NTg1MDI5","html_url":"https://github.com/abigsam/GL_EmbeddedProCamp/pull/2","diff_url":"https://github.com/abigsam/GL_EmbeddedProCamp/pull/2.diff","patch_url":"https://github.com/abigsam/GL_EmbeddedProCamp/pull/2.patch","issue_url":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/issues/2","number":2,"state":"open","locked":false,"title":"Lecture 2","user":{"login":"abigsam","id":29130997,"node_id":"MDQ6VXNlcjI5MTMwOTk3","avatar_url":"https://avatars2.githubusercontent.com/u/29130997?v=4","gravatar_id":"","url":"https://api.github.com/users/abigsam","html_url":"https://github.com/abigsam","followers_url":"https://api.github.com/users/abigsam/followers","following_url":"https://api.github.com/users/abigsam/following{/other_user}","gists_url":"https://api.github.com/users/abigsam/gists{/gist_id}","starred_url":"https://api.github.com/users/abigsam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abigsam/subscriptions","organizations_url":"https://api.github.com/users/abigsam/orgs","repos_url":"https://api.github.com/users/abigsam/repos","events_url":"https://api.github.com/users/abigsam/events{/privacy}","received_events_url":"https://api.github.com/users/abigsam/received_events","type":"User","site_admin":false},"body":"Add lecture #2","created_at":"2018-09-24T08:31:52Z","updated_at":"2018-10-01T18:13:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4f495b4bbedbc878435ede4b9f885a781f90b3ae","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/pulls/2/commits","review_comments_url":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/pulls/2/comments","review_comment_url":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/issues/2/comments","statuses_url":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/statuses/f37bbd72f2847d98a00e37b0087c2653f2509a89","head":{"label":"abigsam:lecture_2","ref":"lecture_2","sha":"f37bbd72f2847d98a00e37b0087c2653f2509a89","user":{"login":"abigsam","id":29130997,"node_id":"MDQ6VXNlcjI5MTMwOTk3","avatar_url":"https://avatars2.githubusercontent.com/u/29130997?v=4","gravatar_id":"","url":"https://api.github.com/users/abigsam","html_url":"https://github.com/abigsam","followers_url":"https://api.github.com/users/abigsam/followers","following_url":"https://api.github.com/users/abigsam/following{/other_user}","gists_url":"https://api.github.com/users/abigsam/gists{/gist_id}","starred_url":"https://api.github.com/users/abigsam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abigsam/subscriptions","organizations_url":"https://api.github.com/users/abigsam/orgs","repos_url":"https://api.github.com/users/abigsam/repos","events_url":"https://api.github.com/users/abigsam/events{/privacy}","received_events_url":"https://api.github.com/users/abigsam/received_events","type":"User","site_admin":false},"repo":{"id":149503487,"node_id":"MDEwOlJlcG9zaXRvcnkxNDk1MDM0ODc=","name":"GL_EmbeddedProCamp","full_name":"abigsam/GL_EmbeddedProCamp","private":false,"owner":{"login":"abigsam","id":29130997,"node_id":"MDQ6VXNlcjI5MTMwOTk3","avatar_url":"https://avatars2.githubusercontent.com/u/29130997?v=4","gravatar_id":"","url":"https://api.github.com/users/abigsam","html_url":"https://github.com/abigsam","followers_url":"https://api.github.com/users/abigsam/followers","following_url":"https://api.github.com/users/abigsam/following{/other_user}","gists_url":"https://api.github.com/users/abigsam/gists{/gist_id}","starred_url":"https://api.github.com/users/abigsam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abigsam/subscriptions","organizations_url":"https://api.github.com/users/abigsam/orgs","repos_url":"https://api.github.com/users/abigsam/repos","events_url":"https://api.github.com/users/abigsam/events{/privacy}","received_events_url":"https://api.github.com/users/abigsam/received_events","type":"User","site_admin":false},"html_url":"https://github.com/abigsam/GL_EmbeddedProCamp","description":"GL Embedded Camp","fork":false,"url":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp","forks_url":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/forks","keys_url":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/teams","hooks_url":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/hooks","issue_events_url":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/issues/events{/number}","events_url":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/events","assignees_url":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/assignees{/user}","branches_url":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/branches{/branch}","tags_url":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/tags","blobs_url":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/git/refs{/sha}","trees_url":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/statuses/{sha}","languages_url":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/languages","stargazers_url":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/stargazers","contributors_url":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/contributors","subscribers_url":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/subscribers","subscription_url":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/subscription","commits_url":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/commits{/sha}","git_commits_url":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/git/commits{/sha}","comments_url":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/comments{/number}","issue_comment_url":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/issues/comments{/number}","contents_url":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/contents/{+path}","compare_url":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/merges","archive_url":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/downloads","issues_url":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/issues{/number}","pulls_url":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/pulls{/number}","milestones_url":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/milestones{/number}","notifications_url":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/labels{/name}","releases_url":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/releases{/id}","deployments_url":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/deployments","created_at":"2018-09-19T19:43:41Z","updated_at":"2018-09-19T19:43:43Z","pushed_at":"2018-10-01T18:08:08Z","git_url":"git://github.com/abigsam/GL_EmbeddedProCamp.git","ssh_url":"git@github.com:abigsam/GL_EmbeddedProCamp.git","clone_url":"https://github.com/abigsam/GL_EmbeddedProCamp.git","svn_url":"https://github.com/abigsam/GL_EmbeddedProCamp","homepage":null,"size":1356,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":4,"license":null,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"base":{"label":"abigsam:master","ref":"master","sha":"1b4f27d2c4204490aaa33158c62d807dcd2b4b5f","user":{"login":"abigsam","id":29130997,"node_id":"MDQ6VXNlcjI5MTMwOTk3","avatar_url":"https://avatars2.githubusercontent.com/u/29130997?v=4","gravatar_id":"","url":"https://api.github.com/users/abigsam","html_url":"https://github.com/abigsam","followers_url":"https://api.github.com/users/abigsam/followers","following_url":"https://api.github.com/users/abigsam/following{/other_user}","gists_url":"https://api.github.com/users/abigsam/gists{/gist_id}","starred_url":"https://api.github.com/users/abigsam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abigsam/subscriptions","organizations_url":"https://api.github.com/users/abigsam/orgs","repos_url":"https://api.github.com/users/abigsam/repos","events_url":"https://api.github.com/users/abigsam/events{/privacy}","received_events_url":"https://api.github.com/users/abigsam/received_events","type":"User","site_admin":false},"repo":{"id":149503487,"node_id":"MDEwOlJlcG9zaXRvcnkxNDk1MDM0ODc=","name":"GL_EmbeddedProCamp","full_name":"abigsam/GL_EmbeddedProCamp","private":false,"owner":{"login":"abigsam","id":29130997,"node_id":"MDQ6VXNlcjI5MTMwOTk3","avatar_url":"https://avatars2.githubusercontent.com/u/29130997?v=4","gravatar_id":"","url":"https://api.github.com/users/abigsam","html_url":"https://github.com/abigsam","followers_url":"https://api.github.com/users/abigsam/followers","following_url":"https://api.github.com/users/abigsam/following{/other_user}","gists_url":"https://api.github.com/users/abigsam/gists{/gist_id}","starred_url":"https://api.github.com/users/abigsam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abigsam/subscriptions","organizations_url":"https://api.github.com/users/abigsam/orgs","repos_url":"https://api.github.com/users/abigsam/repos","events_url":"https://api.github.com/users/abigsam/events{/privacy}","received_events_url":"https://api.github.com/users/abigsam/received_events","type":"User","site_admin":false},"html_url":"https://github.com/abigsam/GL_EmbeddedProCamp","description":"GL Embedded Camp","fork":false,"url":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp","forks_url":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/forks","keys_url":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/teams","hooks_url":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/hooks","issue_events_url":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/issues/events{/number}","events_url":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/events","assignees_url":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/assignees{/user}","branches_url":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/branches{/branch}","tags_url":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/tags","blobs_url":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/git/refs{/sha}","trees_url":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/statuses/{sha}","languages_url":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/languages","stargazers_url":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/stargazers","contributors_url":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/contributors","subscribers_url":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/subscribers","subscription_url":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/subscription","commits_url":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/commits{/sha}","git_commits_url":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/git/commits{/sha}","comments_url":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/comments{/number}","issue_comment_url":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/issues/comments{/number}","contents_url":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/contents/{+path}","compare_url":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/merges","archive_url":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/downloads","issues_url":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/issues{/number}","pulls_url":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/pulls{/number}","milestones_url":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/milestones{/number}","notifications_url":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/labels{/name}","releases_url":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/releases{/id}","deployments_url":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/deployments","created_at":"2018-09-19T19:43:41Z","updated_at":"2018-09-19T19:43:43Z","pushed_at":"2018-10-01T18:08:08Z","git_url":"git://github.com/abigsam/GL_EmbeddedProCamp.git","ssh_url":"git@github.com:abigsam/GL_EmbeddedProCamp.git","clone_url":"https://github.com/abigsam/GL_EmbeddedProCamp.git","svn_url":"https://github.com/abigsam/GL_EmbeddedProCamp","homepage":null,"size":1356,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":4,"license":null,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/pulls/2"},"html":{"href":"https://github.com/abigsam/GL_EmbeddedProCamp/pull/2"},"issue":{"href":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/issues/2"},"comments":{"href":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/abigsam/GL_EmbeddedProCamp/statuses/f37bbd72f2847d98a00e37b0087c2653f2509a89"}},"author_association":"OWNER"}}
{"actor":{"display_login":"abigsam"}}