{"action":"created","issue":{"url":"https://api.github.com/repos/mikalhart/IridiumSBD/issues/12","repository_url":"https://api.github.com/repos/mikalhart/IridiumSBD","labels_url":"https://api.github.com/repos/mikalhart/IridiumSBD/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/mikalhart/IridiumSBD/issues/12/comments","events_url":"https://api.github.com/repos/mikalhart/IridiumSBD/issues/12/events","html_url":"https://github.com/mikalhart/IridiumSBD/issues/12","id":303314716,"number":12,"title":"examples cause arduino mega r3 to loop unless #define DIAGNOSTICS true","user":{"login":"msy380","id":37162493,"avatar_url":"https://avatars1.githubusercontent.com/u/37162493?v=4","gravatar_id":"","url":"https://api.github.com/users/msy380","html_url":"https://github.com/msy380","followers_url":"https://api.github.com/users/msy380/followers","following_url":"https://api.github.com/users/msy380/following{/other_user}","gists_url":"https://api.github.com/users/msy380/gists{/gist_id}","starred_url":"https://api.github.com/users/msy380/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msy380/subscriptions","organizations_url":"https://api.github.com/users/msy380/orgs","repos_url":"https://api.github.com/users/msy380/repos","events_url":"https://api.github.com/users/msy380/events{/privacy}","received_events_url":"https://api.github.com/users/msy380/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-03-08T00:47:06Z","updated_at":"2018-03-28T19:15:03Z","closed_at":null,"author_association":"NONE","body":"this is very puzzling.  I bought a Rockblock, arduino mega r3 and a level shifting board from Sparkfun.  I am try to use the example code in the IridiumSBD libraries, BasicSend, SendReceive and all I get in the serial monitor window (set at 115200, CR/LF) is random garbage.  If a change the #define DIAGNOSTICS from false to true everything runs ok and I see output in the serial window. \r\n\r\narduino library was downloaded from here: https://github.com/mikalhart/IridiumSBD\r\nthis is V2 that was released around November 2017\r\n\r\n I added a delay line in SETUP and a few lines like this:\r\nSerial.println(F(\"RockBlock Test\")); in the start of setup and then this line just before the modem.begin\r\n Serial.println(\"Starting modem...\");\r\n  err = modem.begin();\r\n\r\nit appears it is starting up but somehow just gets stuck inmodem.begin and cause the program to reset over and over and never reaches the LOOP function, but I have no idea why \r\n\r\nin the console window I see the \"rockblock test\" is coming from setup then I see \"Sta\" and it repeats that sequence over and over.\r\n\r\nI think \"Sta\" is part of this string in setup:  Serial.println(\"Starting modem...\");\r\nIt does not appear to ever get the the loop function and never reaches the last couple of lines in setup which prints out my menu in setup()\r\n\r\nvery strange....\r\n\r\nI am using  IDE 1.8.1 the Serial3 with no changes in the sample code.  For power I am using the USB cable from the PC for the arduino mega and for the rockblock power pins a 5v wall adapter 2000 ma. Since everything works ok when I set #define DIAGNOSTICS to true I feel the wiring/level shifting is ok.\r\n\r\nany thoughts/comments greatly appreciated !"},"comment":{"url":"https://api.github.com/repos/mikalhart/IridiumSBD/issues/comments/377003392","html_url":"https://github.com/mikalhart/IridiumSBD/issues/12#issuecomment-377003392","issue_url":"https://api.github.com/repos/mikalhart/IridiumSBD/issues/12","id":377003392,"user":{"login":"AngeloACR","id":13226287,"avatar_url":"https://avatars2.githubusercontent.com/u/13226287?v=4","gravatar_id":"","url":"https://api.github.com/users/AngeloACR","html_url":"https://github.com/AngeloACR","followers_url":"https://api.github.com/users/AngeloACR/followers","following_url":"https://api.github.com/users/AngeloACR/following{/other_user}","gists_url":"https://api.github.com/users/AngeloACR/gists{/gist_id}","starred_url":"https://api.github.com/users/AngeloACR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AngeloACR/subscriptions","organizations_url":"https://api.github.com/users/AngeloACR/orgs","repos_url":"https://api.github.com/users/AngeloACR/repos","events_url":"https://api.github.com/users/AngeloACR/events{/privacy}","received_events_url":"https://api.github.com/users/AngeloACR/received_events","type":"User","site_admin":false},"created_at":"2018-03-28T19:15:03Z","updated_at":"2018-03-28T19:15:03Z","author_association":"NONE","body":"Hi! I'm having exactly the same problem, but I'm using AltSoftSerial instead of SoftwareSerial. Any idea on how to solve this?"}}
{"actor":{"display_login":"AngeloACR"}}