{"action":"created","issue":{"url":"https://api.github.com/repos/mikaelpatel/Cosa/issues/428","labels_url":"https://api.github.com/repos/mikaelpatel/Cosa/issues/428/labels{/name}","comments_url":"https://api.github.com/repos/mikaelpatel/Cosa/issues/428/comments","events_url":"https://api.github.com/repos/mikaelpatel/Cosa/issues/428/events","html_url":"https://github.com/mikaelpatel/Cosa/issues/428","id":109697407,"number":428,"title":"UART input garbage @ 115200 on atmega328p","user":{"login":"jeditekunum","id":9450102,"avatar_url":"https://avatars.githubusercontent.com/u/9450102?v=3","gravatar_id":"","url":"https://api.github.com/users/jeditekunum","html_url":"https://github.com/jeditekunum","followers_url":"https://api.github.com/users/jeditekunum/followers","following_url":"https://api.github.com/users/jeditekunum/following{/other_user}","gists_url":"https://api.github.com/users/jeditekunum/gists{/gist_id}","starred_url":"https://api.github.com/users/jeditekunum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeditekunum/subscriptions","organizations_url":"https://api.github.com/users/jeditekunum/orgs","repos_url":"https://api.github.com/users/jeditekunum/repos","events_url":"https://api.github.com/users/jeditekunum/events{/privacy}","received_events_url":"https://api.github.com/users/jeditekunum/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-10-04T18:59:41Z","updated_at":"2015-10-04T20:33:44Z","closed_at":null,"body":"```\r\n#include \"Cosa/IOStream/Driver/UART.hh\"\r\n\r\nvoid setup()\r\n{\r\n  uart.begin(115200);\r\n}\r\n\r\nvoid loop()\r\n{\r\n  while (uart.available())\r\n    uart.putchar(uart.getchar());\r\n}\r\n```\r\n\r\nUsing miniterm, if you just type some stuff and hit return it will be echoed flawlessly. If you copy a block of text and paste it will be garbage. But if you change to 57600 the same paste works.\r\n\r\nI switched to atmega1284p and it works fine even at 115200.\r\n\r\nPro Mini clone 5V/16Mhz, Adafruit FTDI Friend, OSX.\r\n"},"comment":{"url":"https://api.github.com/repos/mikaelpatel/Cosa/issues/comments/145385389","html_url":"https://github.com/mikaelpatel/Cosa/issues/428#issuecomment-145385389","issue_url":"https://api.github.com/repos/mikaelpatel/Cosa/issues/428","id":145385389,"user":{"login":"mikaelpatel","id":2774083,"avatar_url":"https://avatars.githubusercontent.com/u/2774083?v=3","gravatar_id":"","url":"https://api.github.com/users/mikaelpatel","html_url":"https://github.com/mikaelpatel","followers_url":"https://api.github.com/users/mikaelpatel/followers","following_url":"https://api.github.com/users/mikaelpatel/following{/other_user}","gists_url":"https://api.github.com/users/mikaelpatel/gists{/gist_id}","starred_url":"https://api.github.com/users/mikaelpatel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikaelpatel/subscriptions","organizations_url":"https://api.github.com/users/mikaelpatel/orgs","repos_url":"https://api.github.com/users/mikaelpatel/repos","events_url":"https://api.github.com/users/mikaelpatel/events{/privacy}","received_events_url":"https://api.github.com/users/mikaelpatel/received_events","type":"User","site_admin":false},"created_at":"2015-10-04T20:33:44Z","updated_at":"2015-10-04T20:33:44Z","body":"@jeditekunum \r\nTested 230400 bps and got it to fail on pro-mini. Added stopbits=2 to miniterm and it worked nicely again. I will push an update."}}