{"action":"created","issue":{"url":"https://api.github.com/repos/RoboJackets/robocup-software/issues/399","labels_url":"https://api.github.com/repos/RoboJackets/robocup-software/issues/399/labels{/name}","comments_url":"https://api.github.com/repos/RoboJackets/robocup-software/issues/399/comments","events_url":"https://api.github.com/repos/RoboJackets/robocup-software/issues/399/events","html_url":"https://github.com/RoboJackets/robocup-software/issues/399","id":103153826,"number":399,"title":"Create basic class to interface with the rotary selector","user":{"login":"jjones646","id":7342505,"avatar_url":"https://avatars.githubusercontent.com/u/7342505?v=3","gravatar_id":"","url":"https://api.github.com/users/jjones646","html_url":"https://github.com/jjones646","followers_url":"https://api.github.com/users/jjones646/followers","following_url":"https://api.github.com/users/jjones646/following{/other_user}","gists_url":"https://api.github.com/users/jjones646/gists{/gist_id}","starred_url":"https://api.github.com/users/jjones646/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jjones646/subscriptions","organizations_url":"https://api.github.com/users/jjones646/orgs","repos_url":"https://api.github.com/users/jjones646/repos","events_url":"https://api.github.com/users/jjones646/events{/privacy}","received_events_url":"https://api.github.com/users/jjones646/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/RoboJackets/robocup-software/labels/Easy","name":"Easy","color":"fef2c0"},{"url":"https://api.github.com/repos/RoboJackets/robocup-software/labels/firmware","name":"firmware","color":"006b75"}],"state":"open","locked":false,"assignee":{"login":"mosdragon","id":5304210,"avatar_url":"https://avatars.githubusercontent.com/u/5304210?v=3","gravatar_id":"","url":"https://api.github.com/users/mosdragon","html_url":"https://github.com/mosdragon","followers_url":"https://api.github.com/users/mosdragon/followers","following_url":"https://api.github.com/users/mosdragon/following{/other_user}","gists_url":"https://api.github.com/users/mosdragon/gists{/gist_id}","starred_url":"https://api.github.com/users/mosdragon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mosdragon/subscriptions","organizations_url":"https://api.github.com/users/mosdragon/orgs","repos_url":"https://api.github.com/users/mosdragon/repos","events_url":"https://api.github.com/users/mosdragon/events{/privacy}","received_events_url":"https://api.github.com/users/mosdragon/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/RoboJackets/robocup-software/milestones/7","html_url":"https://github.com/RoboJackets/robocup-software/milestones/First%20Semester","labels_url":"https://api.github.com/repos/RoboJackets/robocup-software/milestones/7/labels","id":1226130,"number":7,"title":"First Semester","description":"Things we want to accomplish before the end of the Fall 2015 semester.","creator":{"login":"justbuchanan","id":115131,"avatar_url":"https://avatars.githubusercontent.com/u/115131?v=3","gravatar_id":"","url":"https://api.github.com/users/justbuchanan","html_url":"https://github.com/justbuchanan","followers_url":"https://api.github.com/users/justbuchanan/followers","following_url":"https://api.github.com/users/justbuchanan/following{/other_user}","gists_url":"https://api.github.com/users/justbuchanan/gists{/gist_id}","starred_url":"https://api.github.com/users/justbuchanan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justbuchanan/subscriptions","organizations_url":"https://api.github.com/users/justbuchanan/orgs","repos_url":"https://api.github.com/users/justbuchanan/repos","events_url":"https://api.github.com/users/justbuchanan/events{/privacy}","received_events_url":"https://api.github.com/users/justbuchanan/received_events","type":"User","site_admin":false},"open_issues":27,"closed_issues":8,"state":"open","created_at":"2015-07-26T12:16:38Z","updated_at":"2015-10-28T05:35:17Z","due_on":"2015-12-20T05:00:00Z","closed_at":null},"comments":1,"created_at":"2015-08-26T02:06:16Z","updated_at":"2015-11-04T01:17:52Z","closed_at":null,"body":"See pin configurations [here](https://github.com/RoboJackets/robocup-software/blob/robot2015-firmware/firmware/robot2015/src-ctrl/config/pins-ctrl-2015.hpp)."},"comment":{"url":"https://api.github.com/repos/RoboJackets/robocup-software/issues/comments/153540241","html_url":"https://github.com/RoboJackets/robocup-software/issues/399#issuecomment-153540241","issue_url":"https://api.github.com/repos/RoboJackets/robocup-software/issues/399","id":153540241,"user":{"login":"mosdragon","id":5304210,"avatar_url":"https://avatars.githubusercontent.com/u/5304210?v=3","gravatar_id":"","url":"https://api.github.com/users/mosdragon","html_url":"https://github.com/mosdragon","followers_url":"https://api.github.com/users/mosdragon/followers","following_url":"https://api.github.com/users/mosdragon/following{/other_user}","gists_url":"https://api.github.com/users/mosdragon/gists{/gist_id}","starred_url":"https://api.github.com/users/mosdragon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mosdragon/subscriptions","organizations_url":"https://api.github.com/users/mosdragon/orgs","repos_url":"https://api.github.com/users/mosdragon/repos","events_url":"https://api.github.com/users/mosdragon/events{/privacy}","received_events_url":"https://api.github.com/users/mosdragon/received_events","type":"User","site_admin":false},"created_at":"2015-11-04T01:17:52Z","updated_at":"2015-11-04T01:17:52Z","body":"Hey @jjones646, I'm looking to pick this up. I was going to create a function that simply gets the int value of based on the pins that are on:\r\n```c++\r\n// The robot's rotary ID selector\r\n#define RJ_HEX_SWITCH_B0        RJ_IOEXP_A0\r\n#define RJ_HEX_SWITCH_B1        RJ_IOEXP_A1\r\n#define RJ_HEX_SWITCH_B2        RJ_IOEXP_A2\r\n#define RJ_HEX_SWITCH_B3        RJ_IOEXP_A3\r\n```\r\n\r\nIs this all what we're looking for?\r\n"}}