{"action":"opened","issue":{"url":"https://api.github.com/repos/raspberry-sharp/raspberry-sharp-io/issues/50","labels_url":"https://api.github.com/repos/raspberry-sharp/raspberry-sharp-io/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/raspberry-sharp/raspberry-sharp-io/issues/50/comments","events_url":"https://api.github.com/repos/raspberry-sharp/raspberry-sharp-io/issues/50/events","html_url":"https://github.com/raspberry-sharp/raspberry-sharp-io/issues/50","id":115077587,"number":50,"title":"Memory Gpio Bug ?","user":{"login":"fchaxel","id":15653904,"avatar_url":"https://avatars.githubusercontent.com/u/15653904?v=3","gravatar_id":"","url":"https://api.github.com/users/fchaxel","html_url":"https://github.com/fchaxel","followers_url":"https://api.github.com/users/fchaxel/followers","following_url":"https://api.github.com/users/fchaxel/following{/other_user}","gists_url":"https://api.github.com/users/fchaxel/gists{/gist_id}","starred_url":"https://api.github.com/users/fchaxel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fchaxel/subscriptions","organizations_url":"https://api.github.com/users/fchaxel/orgs","repos_url":"https://api.github.com/users/fchaxel/repos","events_url":"https://api.github.com/users/fchaxel/events{/privacy}","received_events_url":"https://api.github.com/users/fchaxel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-04T15:25:28Z","updated_at":"2015-11-04T15:25:28Z","closed_at":null,"body":"Hi,\r\n\r\nIn MemoryGpioConnectionDriver.cs\r\n\r\nline 205\r\n var pinGroupAddress = gpioAddress + (int)((value ? Interop.BCM2835_GPSET0 : Interop.BCM2835_GPCLR0) + offset);\r\n\tshould be 4*offset\r\n\t\tBCM2835_GPSET0 is at 0x 7E20 001C\r\n\t\tBCM2835_GPSET1 is at 0x 7E20 0020\r\nor var offset = 4*Math.DivRem((int) pin, 32, out shift); in line 203\r\n\r\nline 221\r\n\tsame missing : offset*4\r\n\r\nby now not raspberry GPIO up to 31, so no way to detect the problem.\r\n\r\nBye"}}