{"action":"created","issue":{"url":"https://api.github.com/repos/sandeepmistry/arduino-LoRa/issues/165","repository_url":"https://api.github.com/repos/sandeepmistry/arduino-LoRa","labels_url":"https://api.github.com/repos/sandeepmistry/arduino-LoRa/issues/165/labels{/name}","comments_url":"https://api.github.com/repos/sandeepmistry/arduino-LoRa/issues/165/comments","events_url":"https://api.github.com/repos/sandeepmistry/arduino-LoRa/issues/165/events","html_url":"https://github.com/sandeepmistry/arduino-LoRa/issues/165","id":335994294,"node_id":"MDU6SXNzdWUzMzU5OTQyOTQ=","number":165,"title":"On the Lora32u4 II board, calling setSpreadingFactor hangs","user":{"login":"j4zzcat","id":178921,"node_id":"MDQ6VXNlcjE3ODkyMQ==","avatar_url":"https://avatars1.githubusercontent.com/u/178921?v=4","gravatar_id":"","url":"https://api.github.com/users/j4zzcat","html_url":"https://github.com/j4zzcat","followers_url":"https://api.github.com/users/j4zzcat/followers","following_url":"https://api.github.com/users/j4zzcat/following{/other_user}","gists_url":"https://api.github.com/users/j4zzcat/gists{/gist_id}","starred_url":"https://api.github.com/users/j4zzcat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/j4zzcat/subscriptions","organizations_url":"https://api.github.com/users/j4zzcat/orgs","repos_url":"https://api.github.com/users/j4zzcat/repos","events_url":"https://api.github.com/users/j4zzcat/events{/privacy}","received_events_url":"https://api.github.com/users/j4zzcat/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-26T21:17:54Z","updated_at":"2018-06-28T10:05:24Z","closed_at":null,"author_association":"NONE","body":"I'm successfully using two Lora32u4 II boards with the default send/receive examples.\r\nHowever, calling setSpreadingFactor with 9, 10, 11 or 12 hangs (haven't tried the other values).\r\n\r\n```\r\n#include <SPI.h>\r\n#include <LoRa.h>\r\n\r\nint counter = 0;\r\n\r\nvoid setup() {\r\n  Serial.begin(115200);\r\n  while (!Serial);\r\n\r\n  Serial.println(\"LoRa Sender\");\r\n\r\n  LoRa.setPins( 8, 4, 7 );\r\n  LoRa.setSpreadingFactor( 10 );\r\n  Serial.println( \"After SPF\" ); // <-- never gets here\r\n\r\n  if (!LoRa.begin(915E6)) {\r\n    Serial.println(\"Starting LoRa failed!\");\r\n    while (1);\r\n  }\r\n}\r\n\r\nvoid loop() {\r\n  Serial.print(\"Sending packet: \");\r\n  Serial.println(counter);\r\n\r\n  // send packet\r\n  LoRa.beginPacket();\r\n  LoRa.print(\"hello \");\r\n  LoRa.print(counter);\r\n  LoRa.endPacket();\r\n\r\n  counter++;\r\n\r\n  delay(5000);\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/sandeepmistry/arduino-LoRa/issues/comments/400983663","html_url":"https://github.com/sandeepmistry/arduino-LoRa/issues/165#issuecomment-400983663","issue_url":"https://api.github.com/repos/sandeepmistry/arduino-LoRa/issues/165","id":400983663,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMDk4MzY2Mw==","user":{"login":"Yury-MonZon","id":16077103,"node_id":"MDQ6VXNlcjE2MDc3MTAz","avatar_url":"https://avatars0.githubusercontent.com/u/16077103?v=4","gravatar_id":"","url":"https://api.github.com/users/Yury-MonZon","html_url":"https://github.com/Yury-MonZon","followers_url":"https://api.github.com/users/Yury-MonZon/followers","following_url":"https://api.github.com/users/Yury-MonZon/following{/other_user}","gists_url":"https://api.github.com/users/Yury-MonZon/gists{/gist_id}","starred_url":"https://api.github.com/users/Yury-MonZon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yury-MonZon/subscriptions","organizations_url":"https://api.github.com/users/Yury-MonZon/orgs","repos_url":"https://api.github.com/users/Yury-MonZon/repos","events_url":"https://api.github.com/users/Yury-MonZon/events{/privacy}","received_events_url":"https://api.github.com/users/Yury-MonZon/received_events","type":"User","site_admin":false},"created_at":"2018-06-28T10:05:24Z","updated_at":"2018-06-28T10:05:24Z","author_association":"NONE","body":" LoRa.setSpreadingFactor(12);    works for me."}}
{"actor":{"display_login":"Yury-MonZon"}}