{"action":"opened","issue":{"url":"https://api.github.com/repos/plerup/espsoftwareserial/issues/9","labels_url":"https://api.github.com/repos/plerup/espsoftwareserial/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/plerup/espsoftwareserial/issues/9/comments","events_url":"https://api.github.com/repos/plerup/espsoftwareserial/issues/9/events","html_url":"https://github.com/plerup/espsoftwareserial/issues/9","id":123753166,"number":9,"title":"1200 Baud returns null bytes","user":{"login":"sk1tt1sh","id":2659377,"avatar_url":"https://avatars.githubusercontent.com/u/2659377?v=3","gravatar_id":"","url":"https://api.github.com/users/sk1tt1sh","html_url":"https://github.com/sk1tt1sh","followers_url":"https://api.github.com/users/sk1tt1sh/followers","following_url":"https://api.github.com/users/sk1tt1sh/following{/other_user}","gists_url":"https://api.github.com/users/sk1tt1sh/gists{/gist_id}","starred_url":"https://api.github.com/users/sk1tt1sh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sk1tt1sh/subscriptions","organizations_url":"https://api.github.com/users/sk1tt1sh/orgs","repos_url":"https://api.github.com/users/sk1tt1sh/repos","events_url":"https://api.github.com/users/sk1tt1sh/events{/privacy}","received_events_url":"https://api.github.com/users/sk1tt1sh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-24T03:20:28Z","updated_at":"2015-12-24T03:20:28Z","closed_at":null,"body":"Not sure if is an issue or I'm doing something wrong, but I'm attempting to read data off a very slow device (1200baud) and am only receiving null bytes, though it is the correct amount.\r\n\r\nI verified the data plugging the line and ground from the device into my FTDI and setting the baud to 1200 and received expected values.\r\n\r\nSoftwareSerial swSer(13,SW_SERIAL_UNUSED_PIN); //tried setting to 13,12 as well. Only have RX from device though.\r\nvoid setup() {\r\n  Serial.begin(1200); //according to some posts mixed baud can cause oddities.\r\n  swSer.begin(1200);\r\n  pinMode(ESP8266_LED, OUTPUT);\r\n  delay(100);\r\n}\r\n\r\nvoid loop() {\r\n  while(swSer.available()){\r\n    Serial.print(swSer.read()); //null bytes (the correct amount though)\r\n  }\r\n  delay(100); //raising and lowering doesn't seem to help\r\n}"}}