{"action":"opened","issue":{"url":"https://api.github.com/repos/guillaumesmo/FT800/issues/1","repository_url":"https://api.github.com/repos/guillaumesmo/FT800","labels_url":"https://api.github.com/repos/guillaumesmo/FT800/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/guillaumesmo/FT800/issues/1/comments","events_url":"https://api.github.com/repos/guillaumesmo/FT800/issues/1/events","html_url":"https://github.com/guillaumesmo/FT800/issues/1","id":241510568,"number":1,"title":"SPI Settings","user":{"login":"yamiyukiharu","id":12526810,"avatar_url":"https://avatars2.githubusercontent.com/u/12526810?v=3","gravatar_id":"","url":"https://api.github.com/users/yamiyukiharu","html_url":"https://github.com/yamiyukiharu","followers_url":"https://api.github.com/users/yamiyukiharu/followers","following_url":"https://api.github.com/users/yamiyukiharu/following{/other_user}","gists_url":"https://api.github.com/users/yamiyukiharu/gists{/gist_id}","starred_url":"https://api.github.com/users/yamiyukiharu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yamiyukiharu/subscriptions","organizations_url":"https://api.github.com/users/yamiyukiharu/orgs","repos_url":"https://api.github.com/users/yamiyukiharu/repos","events_url":"https://api.github.com/users/yamiyukiharu/events{/privacy}","received_events_url":"https://api.github.com/users/yamiyukiharu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-07-09T08:45:39Z","updated_at":"2017-07-09T08:45:39Z","closed_at":null,"body":"Hi guillaumesmo, thanks for the library as it saved me a lot of development time on the chip! I tested your library with a PIC18F45K80, and I realize that I need to use the following SPI settings in order to make it work:\r\n\r\n    SSPSTATbits.CKE = 1;         //Transmit occurs on transition from active to Idle clock state\r\n    SSPCON1bits.CKP = 1;       //Idle state for clock is a high level \r\n\r\n compared to your settings :  \r\n     SSPSTATbits.CKE=1; // clock phase: propagation on rising edge\r\n     SSPCON1bits.CKP=0; // clock polarity: idle low\r\n\r\nIs there a problem with your settings or am I missing something out?\r\n\r\nThanks!"}}
{"actor":{"display_login":"yamiyukiharu"}}