{"action":"created","issue":{"url":"https://api.github.com/repos/nodesign/weio/issues/238","labels_url":"https://api.github.com/repos/nodesign/weio/issues/238/labels{/name}","comments_url":"https://api.github.com/repos/nodesign/weio/issues/238/comments","events_url":"https://api.github.com/repos/nodesign/weio/issues/238/events","html_url":"https://github.com/nodesign/weio/issues/238","id":78562338,"number":238,"title":"offset in the output numbers of the powerModule","user":{"login":"bltzr","id":113982,"avatar_url":"https://avatars.githubusercontent.com/u/113982?v=3","gravatar_id":"","url":"https://api.github.com/users/bltzr","html_url":"https://github.com/bltzr","followers_url":"https://api.github.com/users/bltzr/followers","following_url":"https://api.github.com/users/bltzr/following{/other_user}","gists_url":"https://api.github.com/users/bltzr/gists{/gist_id}","starred_url":"https://api.github.com/users/bltzr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bltzr/subscriptions","organizations_url":"https://api.github.com/users/bltzr/orgs","repos_url":"https://api.github.com/users/bltzr/repos","events_url":"https://api.github.com/users/bltzr/events{/privacy}","received_events_url":"https://api.github.com/users/bltzr/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nodesign/weio/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"ks156","id":55508,"avatar_url":"https://avatars.githubusercontent.com/u/55508?v=3","gravatar_id":"","url":"https://api.github.com/users/ks156","html_url":"https://github.com/ks156","followers_url":"https://api.github.com/users/ks156/followers","following_url":"https://api.github.com/users/ks156/following{/other_user}","gists_url":"https://api.github.com/users/ks156/gists{/gist_id}","starred_url":"https://api.github.com/users/ks156/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ks156/subscriptions","organizations_url":"https://api.github.com/users/ks156/orgs","repos_url":"https://api.github.com/users/ks156/repos","events_url":"https://api.github.com/users/ks156/events{/privacy}","received_events_url":"https://api.github.com/users/ks156/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/nodesign/weio/milestones/2","html_url":"https://github.com/nodesign/weio/milestones/v1.2","labels_url":"https://api.github.com/repos/nodesign/weio/milestones/2/labels","id":1074115,"number":2,"title":"v1.2","description":"","creator":{"login":"ks156","id":55508,"avatar_url":"https://avatars.githubusercontent.com/u/55508?v=3","gravatar_id":"","url":"https://api.github.com/users/ks156","html_url":"https://github.com/ks156","followers_url":"https://api.github.com/users/ks156/followers","following_url":"https://api.github.com/users/ks156/following{/other_user}","gists_url":"https://api.github.com/users/ks156/gists{/gist_id}","starred_url":"https://api.github.com/users/ks156/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ks156/subscriptions","organizations_url":"https://api.github.com/users/ks156/orgs","repos_url":"https://api.github.com/users/ks156/repos","events_url":"https://api.github.com/users/ks156/events{/privacy}","received_events_url":"https://api.github.com/users/ks156/received_events","type":"User","site_admin":false},"open_issues":11,"closed_issues":1,"state":"open","created_at":"2015-04-19T19:11:28Z","updated_at":"2015-05-21T05:17:23Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2015-05-20T15:08:59Z","updated_at":"2015-05-23T14:04:32Z","closed_at":null,"body":"in https://github.com/nodesign/weio/blob/master/examples/actuators/powerModule/main.py#L22\r\nwith just a print(a) added before line 25\r\n \r\nhere's what I get when cycling through the ouptuts:\r\nthere's an offset between the software output and the physical one\r\n \r\nhere's the mapping:\r\nSW output (a): physical output\r\n0: 7\r\n1: 6\r\n2: 5\r\n3: 4\r\n4: 3\r\n5: 2\r\n6: 1\r\n7: 0\r\n8: 15\r\n9: 14\r\nand so on...\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/nodesign/weio/issues/comments/104900708","html_url":"https://github.com/nodesign/weio/issues/238#issuecomment-104900708","issue_url":"https://api.github.com/repos/nodesign/weio/issues/238","id":104900708,"user":{"login":"ks156","id":55508,"avatar_url":"https://avatars.githubusercontent.com/u/55508?v=3","gravatar_id":"","url":"https://api.github.com/users/ks156","html_url":"https://github.com/ks156","followers_url":"https://api.github.com/users/ks156/followers","following_url":"https://api.github.com/users/ks156/following{/other_user}","gists_url":"https://api.github.com/users/ks156/gists{/gist_id}","starred_url":"https://api.github.com/users/ks156/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ks156/subscriptions","organizations_url":"https://api.github.com/users/ks156/orgs","repos_url":"https://api.github.com/users/ks156/repos","events_url":"https://api.github.com/users/ks156/events{/privacy}","received_events_url":"https://api.github.com/users/ks156/received_events","type":"User","site_admin":false},"created_at":"2015-05-23T14:04:32Z","updated_at":"2015-05-23T14:04:32Z","body":"Thank you @bltzr. I've created a pull request. I'll see if @ukicar can confirm."}}