{"action":"created","issue":{"url":"https://api.github.com/repos/jkuusama/LitePlacer/issues/10","labels_url":"https://api.github.com/repos/jkuusama/LitePlacer/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/jkuusama/LitePlacer/issues/10/comments","events_url":"https://api.github.com/repos/jkuusama/LitePlacer/issues/10/events","html_url":"https://github.com/jkuusama/LitePlacer/issues/10","id":70407006,"number":10,"title":"Feature request: Switch on / off LED light for upward facing camera","user":{"login":"mrandt","id":10500490,"avatar_url":"https://avatars.githubusercontent.com/u/10500490?v=3","gravatar_id":"","url":"https://api.github.com/users/mrandt","html_url":"https://github.com/mrandt","followers_url":"https://api.github.com/users/mrandt/followers","following_url":"https://api.github.com/users/mrandt/following{/other_user}","gists_url":"https://api.github.com/users/mrandt/gists{/gist_id}","starred_url":"https://api.github.com/users/mrandt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrandt/subscriptions","organizations_url":"https://api.github.com/users/mrandt/orgs","repos_url":"https://api.github.com/users/mrandt/repos","events_url":"https://api.github.com/users/mrandt/events{/privacy}","received_events_url":"https://api.github.com/users/mrandt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-23T13:08:50Z","updated_at":"2015-07-17T14:12:37Z","closed_at":null,"body":"I have built quite a powerful led ring (monochromatic red at this point) for the upward camera. I would like to turn it off when not in use so it does not blind me... \r\n\r\nI think the TinyG SpinDir pin (logic level output) could be used to achieve this.\r\n\r\nThe LitePlacer software could pull this pin high whenever the upward camera is used, e.g. needle wobble calibration, component alignment etc.\r\n\r\nI might start to work on this myself but still thought I should record it here."},"comment":{"url":"https://api.github.com/repos/jkuusama/LitePlacer/issues/comments/122287318","html_url":"https://github.com/jkuusama/LitePlacer/issues/10#issuecomment-122287318","issue_url":"https://api.github.com/repos/jkuusama/LitePlacer/issues/10","id":122287318,"user":{"login":"MaWa53","id":12952087,"avatar_url":"https://avatars.githubusercontent.com/u/12952087?v=3","gravatar_id":"","url":"https://api.github.com/users/MaWa53","html_url":"https://github.com/MaWa53","followers_url":"https://api.github.com/users/MaWa53/followers","following_url":"https://api.github.com/users/MaWa53/following{/other_user}","gists_url":"https://api.github.com/users/MaWa53/gists{/gist_id}","starred_url":"https://api.github.com/users/MaWa53/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MaWa53/subscriptions","organizations_url":"https://api.github.com/users/MaWa53/orgs","repos_url":"https://api.github.com/users/MaWa53/repos","events_url":"https://api.github.com/users/MaWa53/events{/privacy}","received_events_url":"https://api.github.com/users/MaWa53/received_events","type":"User","site_admin":false},"created_at":"2015-07-17T14:12:37Z","updated_at":"2015-07-17T14:12:37Z","body":"I think the TinyG SpinDir pin (logic level output) could be used to achieve this.\r\n\r\nI have implemented extra FET switches for both leds. \r\nBut it is hard to set SpinDir with the unmodified TinyG firmware. \r\nIt is combined with the spindle M3 M4 commands which - I don't know why - turns on the pump!\r\nAnd after a TinyG reset it is toggled a couple of times.\r\n\r\nMaybe the two output pins SS1 & 2 are better candidates. But I will have to take a closer look at the TinyG code to see if these pins are not already in use."}}