{"action":"created","issue":{"url":"https://api.github.com/repos/arduino/Arduino/issues/1221","labels_url":"https://api.github.com/repos/arduino/Arduino/issues/1221/labels{/name}","comments_url":"https://api.github.com/repos/arduino/Arduino/issues/1221/comments","events_url":"https://api.github.com/repos/arduino/Arduino/issues/1221/events","html_url":"https://github.com/arduino/Arduino/pull/1221","id":9918337,"number":1221,"title":"HardwareSerial modifications","user":{"login":"agalliazzo","id":2827298,"avatar_url":"https://avatars.githubusercontent.com/u/2827298?v=3","gravatar_id":"","url":"https://api.github.com/users/agalliazzo","html_url":"https://github.com/agalliazzo","followers_url":"https://api.github.com/users/agalliazzo/followers","following_url":"https://api.github.com/users/agalliazzo/following{/other_user}","gists_url":"https://api.github.com/users/agalliazzo/gists{/gist_id}","starred_url":"https://api.github.com/users/agalliazzo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agalliazzo/subscriptions","organizations_url":"https://api.github.com/users/agalliazzo/orgs","repos_url":"https://api.github.com/users/agalliazzo/repos","events_url":"https://api.github.com/users/agalliazzo/events{/privacy}","received_events_url":"https://api.github.com/users/agalliazzo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/arduino/Arduino/labels/Component:%20HardwareSerial","name":"Component: HardwareSerial","color":"009800"},{"url":"https://api.github.com/repos/arduino/Arduino/labels/Type:%20Improvement","name":"Type: Improvement","color":"0052cc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2013-01-13T04:01:31Z","updated_at":"2015-02-24T08:46:08Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/arduino/Arduino/pulls/1221","html_url":"https://github.com/arduino/Arduino/pull/1221","diff_url":"https://github.com/arduino/Arduino/pull/1221.diff","patch_url":"https://github.com/arduino/Arduino/pull/1221.patch"},"body":"Added the possibility to configure the hardware serial port for 9 bit comunication and added an event (processed like SerialEvent) for a txfinished interrupt (usefull if you're using the serial port with a rs485 transceiver to drive RE/DE line).\r\nI've tested the modifications with an arduino mega2560 and a pic microcontroller as a receiver with Serial1.\r\n\r\nfor use the txFinished event you should have a function like this:\r\n\r\nvoid transmissionFinishedEvent1(){\r\n   doSomething...\r\n}"},"comment":{"url":"https://api.github.com/repos/arduino/Arduino/issues/comments/75718822","html_url":"https://github.com/arduino/Arduino/pull/1221#issuecomment-75718822","issue_url":"https://api.github.com/repos/arduino/Arduino/issues/1221","id":75718822,"user":{"login":"Bouni","id":948965,"avatar_url":"https://avatars.githubusercontent.com/u/948965?v=3","gravatar_id":"","url":"https://api.github.com/users/Bouni","html_url":"https://github.com/Bouni","followers_url":"https://api.github.com/users/Bouni/followers","following_url":"https://api.github.com/users/Bouni/following{/other_user}","gists_url":"https://api.github.com/users/Bouni/gists{/gist_id}","starred_url":"https://api.github.com/users/Bouni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bouni/subscriptions","organizations_url":"https://api.github.com/users/Bouni/orgs","repos_url":"https://api.github.com/users/Bouni/repos","events_url":"https://api.github.com/users/Bouni/events{/privacy}","received_events_url":"https://api.github.com/users/Bouni/received_events","type":"User","site_admin":false},"created_at":"2015-02-24T08:46:08Z","updated_at":"2015-02-24T08:46:08Z","body":"I modified the Hardware serial for 1.0.X and 1.5.X and submitted pull requests for both:\r\n\r\nhttps://github.com/arduino/Arduino/pull/2291\r\nhttps://github.com/arduino/Arduino/pull/2292\r\n\r\nBut nothing happened since then, which is a little disappointing :(\r\n\r\nIf you need 9-bit serial for your projects, you can clone my repo and use that:\r\n\r\nhttps://github.com/Bouni/Arduino/tree/ide-1.5.x-hardware-serial-9-bit"}}