{"action":"created","comment":{"url":"https://api.github.com/repos/OpenBCI/openbci-js-sdk/pulls/comments/65190760","id":65190760,"diff_hunk":"@@ -599,6 +599,34 @@ Get the current sample rate.\n \n **_Returns_** a number, the current sample rate.\n \n+### .sdStart(recordingDuration)\n+\n+Start logging to the SD card. If you are not streaming when you send this command, then you should expect to get a success or failure message followed by and end of transmission `$$$`.\n+\n+**_recordingDuration_**\n+\n+The duration you want to log SD information for. Opens a new SD file to write into. Limited to:\n+\n+ * `14sec` - 14 seconds\n+ * `5min` - 5 minutes\n+ * `15min` - 15 minutes\n+ * `30min` - 30 minutes\n+ * `1hour` - 1 hour\n+ * `2hour` - 2 hour\n+ * `4hour` - 4 hour\n+ * `12hour` - 12 hour\n+ * `24hour` - 24 hour\n+ \n+**Note: You must have the proper type of SD card inserted into the board for logging to work.**\n+\n+**_Returns_** resolves if the command was added to the write queue.\n+\n+### .sdStart(recordingDuration)","path":"README.md","position":35,"original_position":35,"commit_id":"636ee16f510775f46668f150ff0d49ed8185c1ea","original_commit_id":"636ee16f510775f46668f150ff0d49ed8185c1ea","user":{"login":"teonbrooks","id":1578674,"avatar_url":"https://avatars.githubusercontent.com/u/1578674?v=3","gravatar_id":"","url":"https://api.github.com/users/teonbrooks","html_url":"https://github.com/teonbrooks","followers_url":"https://api.github.com/users/teonbrooks/followers","following_url":"https://api.github.com/users/teonbrooks/following{/other_user}","gists_url":"https://api.github.com/users/teonbrooks/gists{/gist_id}","starred_url":"https://api.github.com/users/teonbrooks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teonbrooks/subscriptions","organizations_url":"https://api.github.com/users/teonbrooks/orgs","repos_url":"https://api.github.com/users/teonbrooks/repos","events_url":"https://api.github.com/users/teonbrooks/events{/privacy}","received_events_url":"https://api.github.com/users/teonbrooks/received_events","type":"User","site_admin":false},"body":"`.sdStart` --> `.sdStop`","created_at":"2016-05-31T14:23:20Z","updated_at":"2016-05-31T14:23:20Z","html_url":"https://github.com/OpenBCI/openbci-js-sdk/pull/60#discussion_r65190760","pull_request_url":"https://api.github.com/repos/OpenBCI/openbci-js-sdk/pulls/60","_links":{"self":{"href":"https://api.github.com/repos/OpenBCI/openbci-js-sdk/pulls/comments/65190760"},"html":{"href":"https://github.com/OpenBCI/openbci-js-sdk/pull/60#discussion_r65190760"},"pull_request":{"href":"https://api.github.com/repos/OpenBCI/openbci-js-sdk/pulls/60"}}},"pull_request":{"url":"https://api.github.com/repos/OpenBCI/openbci-js-sdk/pulls/60","id":69667453,"html_url":"https://github.com/OpenBCI/openbci-js-sdk/pull/60","diff_url":"https://github.com/OpenBCI/openbci-js-sdk/pull/60.diff","patch_url":"https://github.com/OpenBCI/openbci-js-sdk/pull/60.patch","issue_url":"https://api.github.com/repos/OpenBCI/openbci-js-sdk/issues/60","number":60,"state":"open","locked":false,"title":"ADD SD card support functions","user":{"login":"pushtheworldllc","id":11437469,"avatar_url":"https://avatars.githubusercontent.com/u/11437469?v=3","gravatar_id":"","url":"https://api.github.com/users/pushtheworldllc","html_url":"https://github.com/pushtheworldllc","followers_url":"https://api.github.com/users/pushtheworldllc/followers","following_url":"https://api.github.com/users/pushtheworldllc/following{/other_user}","gists_url":"https://api.github.com/users/pushtheworldllc/gists{/gist_id}","starred_url":"https://api.github.com/users/pushtheworldllc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pushtheworldllc/subscriptions","organizations_url":"https://api.github.com/users/pushtheworldllc/orgs","repos_url":"https://api.github.com/users/pushtheworldllc/repos","events_url":"https://api.github.com/users/pushtheworldllc/events{/privacy}","received_events_url":"https://api.github.com/users/pushtheworldllc/received_events","type":"User","site_admin":false},"body":"Added user facing functions to provide SD card logging support","created_at":"2016-05-11T12:59:48Z","updated_at":"2016-05-31T14:23:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"20ccf61b12c864f4ea0e348b12d5647c9a3c0bd2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/OpenBCI/openbci-js-sdk/pulls/60/commits","review_comments_url":"https://api.github.com/repos/OpenBCI/openbci-js-sdk/pulls/60/comments","review_comment_url":"https://api.github.com/repos/OpenBCI/openbci-js-sdk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OpenBCI/openbci-js-sdk/issues/60/comments","statuses_url":"https://api.github.com/repos/OpenBCI/openbci-js-sdk/statuses/636ee16f510775f46668f150ff0d49ed8185c1ea","head":{"label":"pushtheworldllc:dev","ref":"dev","sha":"636ee16f510775f46668f150ff0d49ed8185c1ea","user":{"login":"pushtheworldllc","id":11437469,"avatar_url":"https://avatars.githubusercontent.com/u/11437469?v=3","gravatar_id":"","url":"https://api.github.com/users/pushtheworldllc","html_url":"https://github.com/pushtheworldllc","followers_url":"https://api.github.com/users/pushtheworldllc/followers","following_url":"https://api.github.com/users/pushtheworldllc/following{/other_user}","gists_url":"https://api.github.com/users/pushtheworldllc/gists{/gist_id}","starred_url":"https://api.github.com/users/pushtheworldllc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pushtheworldllc/subscriptions","organizations_url":"https://api.github.com/users/pushtheworldllc/orgs","repos_url":"https://api.github.com/users/pushtheworldllc/repos","events_url":"https://api.github.com/users/pushtheworldllc/events{/privacy}","received_events_url":"https://api.github.com/users/pushtheworldllc/received_events","type":"User","site_admin":false},"repo":{"id":47989560,"name":"openbci-js-sdk","full_name":"pushtheworldllc/openbci-js-sdk","owner":{"login":"pushtheworldllc","id":11437469,"avatar_url":"https://avatars.githubusercontent.com/u/11437469?v=3","gravatar_id":"","url":"https://api.github.com/users/pushtheworldllc","html_url":"https://github.com/pushtheworldllc","followers_url":"https://api.github.com/users/pushtheworldllc/followers","following_url":"https://api.github.com/users/pushtheworldllc/following{/other_user}","gists_url":"https://api.github.com/users/pushtheworldllc/gists{/gist_id}","starred_url":"https://api.github.com/users/pushtheworldllc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pushtheworldllc/subscriptions","organizations_url":"https://api.github.com/users/pushtheworldllc/orgs","repos_url":"https://api.github.com/users/pushtheworldllc/repos","events_url":"https://api.github.com/users/pushtheworldllc/events{/privacy}","received_events_url":"https://api.github.com/users/pushtheworldllc/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pushtheworldllc/openbci-js-sdk","description":"An NPM module for OpenBCI","fork":true,"url":"https://api.github.com/repos/pushtheworldllc/openbci-js-sdk","forks_url":"https://api.github.com/repos/pushtheworldllc/openbci-js-sdk/forks","keys_url":"https://api.github.com/repos/pushtheworldllc/openbci-js-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pushtheworldllc/openbci-js-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pushtheworldllc/openbci-js-sdk/teams","hooks_url":"https://api.github.com/repos/pushtheworldllc/openbci-js-sdk/hooks","issue_events_url":"https://api.github.com/repos/pushtheworldllc/openbci-js-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/pushtheworldllc/openbci-js-sdk/events","assignees_url":"https://api.github.com/repos/pushtheworldllc/openbci-js-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/pushtheworldllc/openbci-js-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/pushtheworldllc/openbci-js-sdk/tags","blobs_url":"https://api.github.com/repos/pushtheworldllc/openbci-js-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pushtheworldllc/openbci-js-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pushtheworldllc/openbci-js-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/pushtheworldllc/openbci-js-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pushtheworldllc/openbci-js-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/pushtheworldllc/openbci-js-sdk/languages","stargazers_url":"https://api.github.com/repos/pushtheworldllc/openbci-js-sdk/stargazers","contributors_url":"https://api.github.com/repos/pushtheworldllc/openbci-js-sdk/contributors","subscribers_url":"https://api.github.com/repos/pushtheworldllc/openbci-js-sdk/subscribers","subscription_url":"https://api.github.com/repos/pushtheworldllc/openbci-js-sdk/subscription","commits_url":"https://api.github.com/repos/pushtheworldllc/openbci-js-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/pushtheworldllc/openbci-js-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/pushtheworldllc/openbci-js-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/pushtheworldllc/openbci-js-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/pushtheworldllc/openbci-js-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/pushtheworldllc/openbci-js-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pushtheworldllc/openbci-js-sdk/merges","archive_url":"https://api.github.com/repos/pushtheworldllc/openbci-js-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pushtheworldllc/openbci-js-sdk/downloads","issues_url":"https://api.github.com/repos/pushtheworldllc/openbci-js-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/pushtheworldllc/openbci-js-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/pushtheworldllc/openbci-js-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/pushtheworldllc/openbci-js-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pushtheworldllc/openbci-js-sdk/labels{/name}","releases_url":"https://api.github.com/repos/pushtheworldllc/openbci-js-sdk/releases{/id}","deployments_url":"https://api.github.com/repos/pushtheworldllc/openbci-js-sdk/deployments","created_at":"2015-12-14T17:11:02Z","updated_at":"2016-01-17T19:58:49Z","pushed_at":"2016-05-11T12:06:49Z","git_url":"git://github.com/pushtheworldllc/openbci-js-sdk.git","ssh_url":"git@github.com:pushtheworldllc/openbci-js-sdk.git","clone_url":"https://github.com/pushtheworldllc/openbci-js-sdk.git","svn_url":"https://github.com/pushtheworldllc/openbci-js-sdk","homepage":null,"size":479,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":1,"default_branch":"dev"}},"base":{"label":"OpenBCI:master","ref":"master","sha":"971787720e45d0806bce12151a8983915df18732","user":{"login":"OpenBCI","id":6003329,"avatar_url":"https://avatars.githubusercontent.com/u/6003329?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenBCI","html_url":"https://github.com/OpenBCI","followers_url":"https://api.github.com/users/OpenBCI/followers","following_url":"https://api.github.com/users/OpenBCI/following{/other_user}","gists_url":"https://api.github.com/users/OpenBCI/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenBCI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenBCI/subscriptions","organizations_url":"https://api.github.com/users/OpenBCI/orgs","repos_url":"https://api.github.com/users/OpenBCI/repos","events_url":"https://api.github.com/users/OpenBCI/events{/privacy}","received_events_url":"https://api.github.com/users/OpenBCI/received_events","type":"Organization","site_admin":false},"repo":{"id":46142863,"name":"openbci-js-sdk","full_name":"OpenBCI/openbci-js-sdk","owner":{"login":"OpenBCI","id":6003329,"avatar_url":"https://avatars.githubusercontent.com/u/6003329?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenBCI","html_url":"https://github.com/OpenBCI","followers_url":"https://api.github.com/users/OpenBCI/followers","following_url":"https://api.github.com/users/OpenBCI/following{/other_user}","gists_url":"https://api.github.com/users/OpenBCI/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenBCI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenBCI/subscriptions","organizations_url":"https://api.github.com/users/OpenBCI/orgs","repos_url":"https://api.github.com/users/OpenBCI/repos","events_url":"https://api.github.com/users/OpenBCI/events{/privacy}","received_events_url":"https://api.github.com/users/OpenBCI/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OpenBCI/openbci-js-sdk","description":"An Node.js module for OpenBCI","fork":false,"url":"https://api.github.com/repos/OpenBCI/openbci-js-sdk","forks_url":"https://api.github.com/repos/OpenBCI/openbci-js-sdk/forks","keys_url":"https://api.github.com/repos/OpenBCI/openbci-js-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OpenBCI/openbci-js-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OpenBCI/openbci-js-sdk/teams","hooks_url":"https://api.github.com/repos/OpenBCI/openbci-js-sdk/hooks","issue_events_url":"https://api.github.com/repos/OpenBCI/openbci-js-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/OpenBCI/openbci-js-sdk/events","assignees_url":"https://api.github.com/repos/OpenBCI/openbci-js-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/OpenBCI/openbci-js-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/OpenBCI/openbci-js-sdk/tags","blobs_url":"https://api.github.com/repos/OpenBCI/openbci-js-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OpenBCI/openbci-js-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OpenBCI/openbci-js-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/OpenBCI/openbci-js-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OpenBCI/openbci-js-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/OpenBCI/openbci-js-sdk/languages","stargazers_url":"https://api.github.com/repos/OpenBCI/openbci-js-sdk/stargazers","contributors_url":"https://api.github.com/repos/OpenBCI/openbci-js-sdk/contributors","subscribers_url":"https://api.github.com/repos/OpenBCI/openbci-js-sdk/subscribers","subscription_url":"https://api.github.com/repos/OpenBCI/openbci-js-sdk/subscription","commits_url":"https://api.github.com/repos/OpenBCI/openbci-js-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/OpenBCI/openbci-js-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/OpenBCI/openbci-js-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/OpenBCI/openbci-js-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/OpenBCI/openbci-js-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/OpenBCI/openbci-js-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OpenBCI/openbci-js-sdk/merges","archive_url":"https://api.github.com/repos/OpenBCI/openbci-js-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OpenBCI/openbci-js-sdk/downloads","issues_url":"https://api.github.com/repos/OpenBCI/openbci-js-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/OpenBCI/openbci-js-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/OpenBCI/openbci-js-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/OpenBCI/openbci-js-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OpenBCI/openbci-js-sdk/labels{/name}","releases_url":"https://api.github.com/repos/OpenBCI/openbci-js-sdk/releases{/id}","deployments_url":"https://api.github.com/repos/OpenBCI/openbci-js-sdk/deployments","created_at":"2015-11-13T19:33:05Z","updated_at":"2016-05-02T18:31:28Z","pushed_at":"2016-05-11T12:59:49Z","git_url":"git://github.com/OpenBCI/openbci-js-sdk.git","ssh_url":"git@github.com:OpenBCI/openbci-js-sdk.git","clone_url":"https://github.com/OpenBCI/openbci-js-sdk.git","svn_url":"https://github.com/OpenBCI/openbci-js-sdk","homepage":"","size":328,"stargazers_count":14,"watchers_count":14,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":13,"forks":10,"open_issues":13,"watchers":14,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/OpenBCI/openbci-js-sdk/pulls/60"},"html":{"href":"https://github.com/OpenBCI/openbci-js-sdk/pull/60"},"issue":{"href":"https://api.github.com/repos/OpenBCI/openbci-js-sdk/issues/60"},"comments":{"href":"https://api.github.com/repos/OpenBCI/openbci-js-sdk/issues/60/comments"},"review_comments":{"href":"https://api.github.com/repos/OpenBCI/openbci-js-sdk/pulls/60/comments"},"review_comment":{"href":"https://api.github.com/repos/OpenBCI/openbci-js-sdk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OpenBCI/openbci-js-sdk/pulls/60/commits"},"statuses":{"href":"https://api.github.com/repos/OpenBCI/openbci-js-sdk/statuses/636ee16f510775f46668f150ff0d49ed8185c1ea"}}}}
{"actor":{"display_login":"teonbrooks"}}