{"action":"created","issue":{"url":"https://api.github.com/repos/grbl/grbl/issues/115","repository_url":"https://api.github.com/repos/grbl/grbl","labels_url":"https://api.github.com/repos/grbl/grbl/issues/115/labels{/name}","comments_url":"https://api.github.com/repos/grbl/grbl/issues/115/comments","events_url":"https://api.github.com/repos/grbl/grbl/issues/115/events","html_url":"https://github.com/grbl/grbl/issues/115","id":6381638,"number":115,"title":"Grbl Depth Probe","user":{"login":"kosme","id":1418331,"avatar_url":"https://avatars.githubusercontent.com/u/1418331?v=3","gravatar_id":"","url":"https://api.github.com/users/kosme","html_url":"https://github.com/kosme","followers_url":"https://api.github.com/users/kosme/followers","following_url":"https://api.github.com/users/kosme/following{/other_user}","gists_url":"https://api.github.com/users/kosme/gists{/gist_id}","starred_url":"https://api.github.com/users/kosme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kosme/subscriptions","organizations_url":"https://api.github.com/users/kosme/orgs","repos_url":"https://api.github.com/users/kosme/repos","events_url":"https://api.github.com/users/kosme/events{/privacy}","received_events_url":"https://api.github.com/users/kosme/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2012-08-22T16:13:57Z","updated_at":"2016-03-12T10:36:44Z","closed_at":"2012-08-22T18:47:12Z","body":"I built a depth probe and am trying to code the behavior for it on the Grbl. I want to use Analog pin 0 of the Arduino (PORTC pin 0) but haven't been able to make it work. The code is:\n\nDDRC =0X00;\nPORTC=0X00;\n\n\nIn gcode.c the code is:\n\nif(PORTC&1==true)\n\t  gc.status_code = STATUS_DEPTH;\n\nThat should send a message when the probe touches the pcb. I connect Analog0 to GND through an external pull-down resistor and the pcb is connected to Vcc.\n\nAny ideas what I am missing/doing wrong?"},"comment":{"url":"https://api.github.com/repos/grbl/grbl/issues/comments/195712472","html_url":"https://github.com/grbl/grbl/issues/115#issuecomment-195712472","issue_url":"https://api.github.com/repos/grbl/grbl/issues/115","id":195712472,"user":{"login":"13ct709","id":17592147,"avatar_url":"https://avatars.githubusercontent.com/u/17592147?v=3","gravatar_id":"","url":"https://api.github.com/users/13ct709","html_url":"https://github.com/13ct709","followers_url":"https://api.github.com/users/13ct709/followers","following_url":"https://api.github.com/users/13ct709/following{/other_user}","gists_url":"https://api.github.com/users/13ct709/gists{/gist_id}","starred_url":"https://api.github.com/users/13ct709/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/13ct709/subscriptions","organizations_url":"https://api.github.com/users/13ct709/orgs","repos_url":"https://api.github.com/users/13ct709/repos","events_url":"https://api.github.com/users/13ct709/events{/privacy}","received_events_url":"https://api.github.com/users/13ct709/received_events","type":"User","site_admin":false},"created_at":"2016-03-12T10:36:44Z","updated_at":"2016-03-12T10:36:44Z","body":"When i short A5 pin to GND,for use a probe then nothing happens.\r\nIs there a $-command where this funktion must be enabled?\r\nthx"}}