{"action":"opened","issue":{"url":"https://api.github.com/repos/QuickGroup/pyGT511C3/issues/4","labels_url":"https://api.github.com/repos/QuickGroup/pyGT511C3/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/QuickGroup/pyGT511C3/issues/4/comments","events_url":"https://api.github.com/repos/QuickGroup/pyGT511C3/issues/4/events","html_url":"https://github.com/QuickGroup/pyGT511C3/issues/4","id":53569629,"number":4,"title":"Raspberry Pi Issues","user":{"login":"louishudd","id":9785927,"avatar_url":"https://avatars.githubusercontent.com/u/9785927?v=3","gravatar_id":"","url":"https://api.github.com/users/louishudd","html_url":"https://github.com/louishudd","followers_url":"https://api.github.com/users/louishudd/followers","following_url":"https://api.github.com/users/louishudd/following{/other_user}","gists_url":"https://api.github.com/users/louishudd/gists{/gist_id}","starred_url":"https://api.github.com/users/louishudd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/louishudd/subscriptions","organizations_url":"https://api.github.com/users/louishudd/orgs","repos_url":"https://api.github.com/users/louishudd/repos","events_url":"https://api.github.com/users/louishudd/events{/privacy}","received_events_url":"https://api.github.com/users/louishudd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-06T22:06:26Z","updated_at":"2015-01-06T22:06:26Z","closed_at":null,"body":"Hi am wondering if you can help me.\r\n\r\nI have been trying to get this to work on my Raspberry Pi. The scanner is plugged into the uart pins.\r\n\r\nEnroll code:\r\n```\r\nimport FPS, sys, time\r\n\r\nif __name__ == '__main__':\r\n\tfps = FPS.FPS_GT511C3(device_name='/dev/ttyAMA0',baud=9600,timeout=2,is_com=False)\r\n\tfps.SetLED(True)\r\n\tfps.UseSerialDebug = False\r\n\tif (fps.IsPressFinger() == True):\r\n\t\tprint 'finger is pressed'\r\n\t\tstart = fps.EnrollStart(1)\r\n\t\tprint start\r\n\t\ttime.sleep(1)\r\n\t\tfps.CaptureFinger(True)\r\n\t\te1 = fps.Enroll1()\r\n\t\tprint e1\r\n\t\ttime.sleep(1)\r\n\t\tfps.CaptureFinger(True)\r\n\t\te2 = fps.Enroll2()\r\n\t\tprint e2\r\n\t\ttime.sleep(1)\r\n\t\tfps.CaptureFinger(True)\r\n\t\te3 = fps.Enroll3()\r\n\t\tprint e3\r\n\tfps.Close()\r\n\r\n```\r\nThis all returns 0\r\n\r\n\r\n\r\n\r\n\r\nCheck number enrolled code:\r\n```\r\nimport FPS, sys, time\r\n\r\nif __name__ == '__main__':\r\n\tfps =  FPS.FPS_GT511C3(device_name='/dev/ttyAMA0',baud=9600,timeout=2,is_com=False)\r\n\tprint fps.GetEnrollCount()\r\n```\r\nThis also returns 0"}}