{"action":"created","comment":{"url":"https://api.github.com/repos/xlcteam/vic/pulls/comments/109290547","pull_request_review_id":30387694,"id":109290547,"diff_hunk":"@@ -47,25 +53,17 @@ void setup()\n \n     vic_var_set(\"state\", \"0\");\n     vic_var_bind(\"state\", &led_state, VIC_VAR_UINT8);\n-\n-    Serial.println(F(\"Try to use these commands: (type them and hit enter)\"));\n-    Serial.println(F(\"\\ton\\n\\toff\"));\n-    Serial.println(F(\"\\tled on\\n\\tled off\"));\n-    Serial.println(F(\"\\tset state 1\\n\\tset state 0\"));\n-    Serial.println(F(\"and see LED attached to pin 13\"));\n-    Serial.println(F(\"If you want to try more:\\n\\tls\\n\\tlsv\"));\n-\n-    Serial.println(F(VIC_PS1));\n }\n \n void loop()\n {\n     if (Serial.available() > 0) {\n         char c = Serial.read();\n+\n+        /* to delete character in picocom */\n+        if (c == '\\b') Serial.print(\" \\b\");","path":"examples/vic_basic/vic_basic.ino","position":46,"original_position":46,"commit_id":"9a76d08dc998779847b02d22ef112c76821d7f11","original_commit_id":"9a76d08dc998779847b02d22ef112c76821d7f11","user":{"login":"mrshu","id":461491,"avatar_url":"https://avatars1.githubusercontent.com/u/461491?v=3","gravatar_id":"","url":"https://api.github.com/users/mrshu","html_url":"https://github.com/mrshu","followers_url":"https://api.github.com/users/mrshu/followers","following_url":"https://api.github.com/users/mrshu/following{/other_user}","gists_url":"https://api.github.com/users/mrshu/gists{/gist_id}","starred_url":"https://api.github.com/users/mrshu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrshu/subscriptions","organizations_url":"https://api.github.com/users/mrshu/orgs","repos_url":"https://api.github.com/users/mrshu/repos","events_url":"https://api.github.com/users/mrshu/events{/privacy}","received_events_url":"https://api.github.com/users/mrshu/received_events","type":"User","site_admin":false},"body":"@vargac ah, nice, that makes a lot of sense!","created_at":"2017-04-01T18:09:49Z","updated_at":"2017-04-01T18:09:50Z","html_url":"https://github.com/xlcteam/vic/pull/33#discussion_r109290547","pull_request_url":"https://api.github.com/repos/xlcteam/vic/pulls/33","_links":{"self":{"href":"https://api.github.com/repos/xlcteam/vic/pulls/comments/109290547"},"html":{"href":"https://github.com/xlcteam/vic/pull/33#discussion_r109290547"},"pull_request":{"href":"https://api.github.com/repos/xlcteam/vic/pulls/33"}}},"pull_request":{"url":"https://api.github.com/repos/xlcteam/vic/pulls/33","id":71918358,"html_url":"https://github.com/xlcteam/vic/pull/33","diff_url":"https://github.com/xlcteam/vic/pull/33.diff","patch_url":"https://github.com/xlcteam/vic/pull/33.patch","issue_url":"https://api.github.com/repos/xlcteam/vic/issues/33","number":33,"state":"open","locked":false,"title":"update: Talking to vic from terminal via picocom","user":{"login":"vargac","id":8767191,"avatar_url":"https://avatars3.githubusercontent.com/u/8767191?v=3","gravatar_id":"","url":"https://api.github.com/users/vargac","html_url":"https://github.com/vargac","followers_url":"https://api.github.com/users/vargac/followers","following_url":"https://api.github.com/users/vargac/following{/other_user}","gists_url":"https://api.github.com/users/vargac/gists{/gist_id}","starred_url":"https://api.github.com/users/vargac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vargac/subscriptions","organizations_url":"https://api.github.com/users/vargac/orgs","repos_url":"https://api.github.com/users/vargac/repos","events_url":"https://api.github.com/users/vargac/events{/privacy}","received_events_url":"https://api.github.com/users/vargac/received_events","type":"User","site_admin":false},"body":"- Add a simple shell script for properly setting picocom arguments\n- Edit arduino example a bit. Print helps at first, remove explicitly printing\n  prompt (vic already does it by itself). After backspace (moving cursor one\n  step back) print space (remove last typed character) and again move cursor\n  back\n- Add simple arduino sketch echoing sent characters in integer form\n\nSigned-off-by: vargac simon.varga123@gmail.com\n","created_at":"2016-05-30T15:54:38Z","updated_at":"2017-04-01T18:09:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d42b844911a871b7a9e55ee877ca88200468d450","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/xlcteam/vic/pulls/33/commits","review_comments_url":"https://api.github.com/repos/xlcteam/vic/pulls/33/comments","review_comment_url":"https://api.github.com/repos/xlcteam/vic/pulls/comments{/number}","comments_url":"https://api.github.com/repos/xlcteam/vic/issues/33/comments","statuses_url":"https://api.github.com/repos/xlcteam/vic/statuses/9a76d08dc998779847b02d22ef112c76821d7f11","head":{"label":"xlcteam:vargac/picocom","ref":"vargac/picocom","sha":"9a76d08dc998779847b02d22ef112c76821d7f11","user":{"login":"xlcteam","id":1062409,"avatar_url":"https://avatars1.githubusercontent.com/u/1062409?v=3","gravatar_id":"","url":"https://api.github.com/users/xlcteam","html_url":"https://github.com/xlcteam","followers_url":"https://api.github.com/users/xlcteam/followers","following_url":"https://api.github.com/users/xlcteam/following{/other_user}","gists_url":"https://api.github.com/users/xlcteam/gists{/gist_id}","starred_url":"https://api.github.com/users/xlcteam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xlcteam/subscriptions","organizations_url":"https://api.github.com/users/xlcteam/orgs","repos_url":"https://api.github.com/users/xlcteam/repos","events_url":"https://api.github.com/users/xlcteam/events{/privacy}","received_events_url":"https://api.github.com/users/xlcteam/received_events","type":"Organization","site_admin":false},"repo":{"id":9032740,"name":"vic","full_name":"xlcteam/vic","owner":{"login":"xlcteam","id":1062409,"avatar_url":"https://avatars1.githubusercontent.com/u/1062409?v=3","gravatar_id":"","url":"https://api.github.com/users/xlcteam","html_url":"https://github.com/xlcteam","followers_url":"https://api.github.com/users/xlcteam/followers","following_url":"https://api.github.com/users/xlcteam/following{/other_user}","gists_url":"https://api.github.com/users/xlcteam/gists{/gist_id}","starred_url":"https://api.github.com/users/xlcteam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xlcteam/subscriptions","organizations_url":"https://api.github.com/users/xlcteam/orgs","repos_url":"https://api.github.com/users/xlcteam/repos","events_url":"https://api.github.com/users/xlcteam/events{/privacy}","received_events_url":"https://api.github.com/users/xlcteam/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/xlcteam/vic","description":"We'll see what this grows into","fork":false,"url":"https://api.github.com/repos/xlcteam/vic","forks_url":"https://api.github.com/repos/xlcteam/vic/forks","keys_url":"https://api.github.com/repos/xlcteam/vic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xlcteam/vic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xlcteam/vic/teams","hooks_url":"https://api.github.com/repos/xlcteam/vic/hooks","issue_events_url":"https://api.github.com/repos/xlcteam/vic/issues/events{/number}","events_url":"https://api.github.com/repos/xlcteam/vic/events","assignees_url":"https://api.github.com/repos/xlcteam/vic/assignees{/user}","branches_url":"https://api.github.com/repos/xlcteam/vic/branches{/branch}","tags_url":"https://api.github.com/repos/xlcteam/vic/tags","blobs_url":"https://api.github.com/repos/xlcteam/vic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xlcteam/vic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xlcteam/vic/git/refs{/sha}","trees_url":"https://api.github.com/repos/xlcteam/vic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xlcteam/vic/statuses/{sha}","languages_url":"https://api.github.com/repos/xlcteam/vic/languages","stargazers_url":"https://api.github.com/repos/xlcteam/vic/stargazers","contributors_url":"https://api.github.com/repos/xlcteam/vic/contributors","subscribers_url":"https://api.github.com/repos/xlcteam/vic/subscribers","subscription_url":"https://api.github.com/repos/xlcteam/vic/subscription","commits_url":"https://api.github.com/repos/xlcteam/vic/commits{/sha}","git_commits_url":"https://api.github.com/repos/xlcteam/vic/git/commits{/sha}","comments_url":"https://api.github.com/repos/xlcteam/vic/comments{/number}","issue_comment_url":"https://api.github.com/repos/xlcteam/vic/issues/comments{/number}","contents_url":"https://api.github.com/repos/xlcteam/vic/contents/{+path}","compare_url":"https://api.github.com/repos/xlcteam/vic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xlcteam/vic/merges","archive_url":"https://api.github.com/repos/xlcteam/vic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xlcteam/vic/downloads","issues_url":"https://api.github.com/repos/xlcteam/vic/issues{/number}","pulls_url":"https://api.github.com/repos/xlcteam/vic/pulls{/number}","milestones_url":"https://api.github.com/repos/xlcteam/vic/milestones{/number}","notifications_url":"https://api.github.com/repos/xlcteam/vic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xlcteam/vic/labels{/name}","releases_url":"https://api.github.com/repos/xlcteam/vic/releases{/id}","deployments_url":"https://api.github.com/repos/xlcteam/vic/deployments","created_at":"2013-03-26T14:53:29Z","updated_at":"2016-02-19T15:34:28Z","pushed_at":"2016-06-14T12:40:54Z","git_url":"git://github.com/xlcteam/vic.git","ssh_url":"git@github.com:xlcteam/vic.git","clone_url":"https://github.com/xlcteam/vic.git","svn_url":"https://github.com/xlcteam/vic","homepage":null,"size":204,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":6,"forks":0,"open_issues":6,"watchers":0,"default_branch":"master"}},"base":{"label":"xlcteam:master","ref":"master","sha":"3efa40cc33b2f09369f5facaf11f032f28e66e61","user":{"login":"xlcteam","id":1062409,"avatar_url":"https://avatars1.githubusercontent.com/u/1062409?v=3","gravatar_id":"","url":"https://api.github.com/users/xlcteam","html_url":"https://github.com/xlcteam","followers_url":"https://api.github.com/users/xlcteam/followers","following_url":"https://api.github.com/users/xlcteam/following{/other_user}","gists_url":"https://api.github.com/users/xlcteam/gists{/gist_id}","starred_url":"https://api.github.com/users/xlcteam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xlcteam/subscriptions","organizations_url":"https://api.github.com/users/xlcteam/orgs","repos_url":"https://api.github.com/users/xlcteam/repos","events_url":"https://api.github.com/users/xlcteam/events{/privacy}","received_events_url":"https://api.github.com/users/xlcteam/received_events","type":"Organization","site_admin":false},"repo":{"id":9032740,"name":"vic","full_name":"xlcteam/vic","owner":{"login":"xlcteam","id":1062409,"avatar_url":"https://avatars1.githubusercontent.com/u/1062409?v=3","gravatar_id":"","url":"https://api.github.com/users/xlcteam","html_url":"https://github.com/xlcteam","followers_url":"https://api.github.com/users/xlcteam/followers","following_url":"https://api.github.com/users/xlcteam/following{/other_user}","gists_url":"https://api.github.com/users/xlcteam/gists{/gist_id}","starred_url":"https://api.github.com/users/xlcteam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xlcteam/subscriptions","organizations_url":"https://api.github.com/users/xlcteam/orgs","repos_url":"https://api.github.com/users/xlcteam/repos","events_url":"https://api.github.com/users/xlcteam/events{/privacy}","received_events_url":"https://api.github.com/users/xlcteam/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/xlcteam/vic","description":"We'll see what this grows into","fork":false,"url":"https://api.github.com/repos/xlcteam/vic","forks_url":"https://api.github.com/repos/xlcteam/vic/forks","keys_url":"https://api.github.com/repos/xlcteam/vic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xlcteam/vic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xlcteam/vic/teams","hooks_url":"https://api.github.com/repos/xlcteam/vic/hooks","issue_events_url":"https://api.github.com/repos/xlcteam/vic/issues/events{/number}","events_url":"https://api.github.com/repos/xlcteam/vic/events","assignees_url":"https://api.github.com/repos/xlcteam/vic/assignees{/user}","branches_url":"https://api.github.com/repos/xlcteam/vic/branches{/branch}","tags_url":"https://api.github.com/repos/xlcteam/vic/tags","blobs_url":"https://api.github.com/repos/xlcteam/vic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xlcteam/vic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xlcteam/vic/git/refs{/sha}","trees_url":"https://api.github.com/repos/xlcteam/vic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xlcteam/vic/statuses/{sha}","languages_url":"https://api.github.com/repos/xlcteam/vic/languages","stargazers_url":"https://api.github.com/repos/xlcteam/vic/stargazers","contributors_url":"https://api.github.com/repos/xlcteam/vic/contributors","subscribers_url":"https://api.github.com/repos/xlcteam/vic/subscribers","subscription_url":"https://api.github.com/repos/xlcteam/vic/subscription","commits_url":"https://api.github.com/repos/xlcteam/vic/commits{/sha}","git_commits_url":"https://api.github.com/repos/xlcteam/vic/git/commits{/sha}","comments_url":"https://api.github.com/repos/xlcteam/vic/comments{/number}","issue_comment_url":"https://api.github.com/repos/xlcteam/vic/issues/comments{/number}","contents_url":"https://api.github.com/repos/xlcteam/vic/contents/{+path}","compare_url":"https://api.github.com/repos/xlcteam/vic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xlcteam/vic/merges","archive_url":"https://api.github.com/repos/xlcteam/vic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xlcteam/vic/downloads","issues_url":"https://api.github.com/repos/xlcteam/vic/issues{/number}","pulls_url":"https://api.github.com/repos/xlcteam/vic/pulls{/number}","milestones_url":"https://api.github.com/repos/xlcteam/vic/milestones{/number}","notifications_url":"https://api.github.com/repos/xlcteam/vic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xlcteam/vic/labels{/name}","releases_url":"https://api.github.com/repos/xlcteam/vic/releases{/id}","deployments_url":"https://api.github.com/repos/xlcteam/vic/deployments","created_at":"2013-03-26T14:53:29Z","updated_at":"2016-02-19T15:34:28Z","pushed_at":"2016-06-14T12:40:54Z","git_url":"git://github.com/xlcteam/vic.git","ssh_url":"git@github.com:xlcteam/vic.git","clone_url":"https://github.com/xlcteam/vic.git","svn_url":"https://github.com/xlcteam/vic","homepage":null,"size":204,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":6,"forks":0,"open_issues":6,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/xlcteam/vic/pulls/33"},"html":{"href":"https://github.com/xlcteam/vic/pull/33"},"issue":{"href":"https://api.github.com/repos/xlcteam/vic/issues/33"},"comments":{"href":"https://api.github.com/repos/xlcteam/vic/issues/33/comments"},"review_comments":{"href":"https://api.github.com/repos/xlcteam/vic/pulls/33/comments"},"review_comment":{"href":"https://api.github.com/repos/xlcteam/vic/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/xlcteam/vic/pulls/33/commits"},"statuses":{"href":"https://api.github.com/repos/xlcteam/vic/statuses/9a76d08dc998779847b02d22ef112c76821d7f11"}}}}
{"actor":{"display_login":"mrshu"}}