{"action":"created","issue":{"url":"https://api.github.com/repos/z3t0/Arduino-IRremote/issues/576","repository_url":"https://api.github.com/repos/z3t0/Arduino-IRremote","labels_url":"https://api.github.com/repos/z3t0/Arduino-IRremote/issues/576/labels{/name}","comments_url":"https://api.github.com/repos/z3t0/Arduino-IRremote/issues/576/comments","events_url":"https://api.github.com/repos/z3t0/Arduino-IRremote/issues/576/events","html_url":"https://github.com/z3t0/Arduino-IRremote/issues/576","id":333114287,"node_id":"MDU6SXNzdWUzMzMxMTQyODc=","number":576,"title":"Library miskate the brand sanyo and samsung","user":{"login":"nazuna1","id":18659202,"node_id":"MDQ6VXNlcjE4NjU5MjAy","avatar_url":"https://avatars0.githubusercontent.com/u/18659202?v=4","gravatar_id":"","url":"https://api.github.com/users/nazuna1","html_url":"https://github.com/nazuna1","followers_url":"https://api.github.com/users/nazuna1/followers","following_url":"https://api.github.com/users/nazuna1/following{/other_user}","gists_url":"https://api.github.com/users/nazuna1/gists{/gist_id}","starred_url":"https://api.github.com/users/nazuna1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nazuna1/subscriptions","organizations_url":"https://api.github.com/users/nazuna1/orgs","repos_url":"https://api.github.com/users/nazuna1/repos","events_url":"https://api.github.com/users/nazuna1/events{/privacy}","received_events_url":"https://api.github.com/users/nazuna1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-06-18T02:10:14Z","updated_at":"2018-06-19T06:35:55Z","closed_at":null,"author_association":"NONE","body":"**Board:** ARDUINO UNO\r\n**Library Version:** 2.2.3 and 2.4.0\r\n**Protocol:** Samsung\r\n\r\n**Code Block:**\r\n```c\r\n\r\n#include <IRremote.h> \r\n\r\nvoid  encoding (decode_results *results)\r\n{\r\n  switch (results->decode_type) {\r\n    default:\r\n    case UNKNOWN:      Serial.print(\"UNKNOWN\");       break ;\r\n    case NEC:          Serial.print(\"NEC\");           break ;\r\n    case SONY:         Serial.print(\"SONY\");          break ;\r\n    case RC5:          Serial.print(\"RC5\");           break ;\r\n    case RC6:          Serial.print(\"RC6\");           break ;\r\n    case DISH:         Serial.print(\"DISH\");          break ;\r\n    case SHARP:        Serial.print(\"SHARP\");         break ;\r\n    case JVC:          Serial.print(\"JVC\");           break ;\r\n    case SANYO:        Serial.print(\"SANYO\");         break ;\r\n    case MITSUBISHI:   Serial.print(\"MITSUBISHI\");    break ;\r\n    case SAMSUNG:      Serial.print(\"SAMSUNG\");       break ;\r\n    case LG:           Serial.print(\"LG\");            break ;\r\n    case WHYNTER:      Serial.print(\"WHYNTER\");       break ;\r\n    case AIWA_RC_T501: Serial.print(\"AIWA_RC_T501\");  break ;\r\n    case PANASONIC:    Serial.print(\"PANASONIC\");     break ;\r\n    case DENON:        Serial.print(\"Denon\");         break ;\r\n  }\r\n}\r\n\r\nvoid  loop ( )\r\n{\r\n  decode_results  results;        // Somewhere to store the results\r\n\r\n  if (irrecv.decode(&results)) {  // Grab an IR code\r\n    dumpInfo(&results);           // Output the results\r\n    dumpRaw(&results);            // Output the results in RAW format\r\n    dumpCode(&results);           // Output the results as source code\r\n    Serial.println(\"\");           // Blank line between entries\r\n    irrecv.resume();              // Prepare for the next value\r\n  }\r\n}\r\n\r\n```\r\n\r\nUse [a gist](gist.github.com) if the code exceeds 30 lines\r\n\r\n**checklist:**\r\n- [✔] I have **read** the README.md file thoroughly\r\n- [✔] I have searched existing issues to see if there is anything I have missed.\r\n- [✔] The latest [release](https://github.com/z3t0/Arduino-IRremote/releases/latest) is used\r\n- [✔] Any code referenced is provided and if over 30 lines a gist is linked INSTEAD of it being pasted in here\r\n- [✔] The title of the issue is helpful and relevant \r\n\r\n** We will start to close issues that do not follow these guidelines as it doesn't help the contributors who spend time trying to solve issues if the community ignores guidelines!**\r\n\r\nThe above is a short template allowing you to make detailed issues!\r\n\r\nThis library shows incorrect data.\r\nMy remote control  is Samsung but Lib return Sanyo.\r\nSo, returm code is 0xFFFFFFFF."},"comment":{"url":"https://api.github.com/repos/z3t0/Arduino-IRremote/issues/comments/398290157","html_url":"https://github.com/z3t0/Arduino-IRremote/issues/576#issuecomment-398290157","issue_url":"https://api.github.com/repos/z3t0/Arduino-IRremote/issues/576","id":398290157,"node_id":"MDEyOklzc3VlQ29tbWVudDM5ODI5MDE1Nw==","user":{"login":"nazuna1","id":18659202,"node_id":"MDQ6VXNlcjE4NjU5MjAy","avatar_url":"https://avatars0.githubusercontent.com/u/18659202?v=4","gravatar_id":"","url":"https://api.github.com/users/nazuna1","html_url":"https://github.com/nazuna1","followers_url":"https://api.github.com/users/nazuna1/followers","following_url":"https://api.github.com/users/nazuna1/following{/other_user}","gists_url":"https://api.github.com/users/nazuna1/gists{/gist_id}","starred_url":"https://api.github.com/users/nazuna1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nazuna1/subscriptions","organizations_url":"https://api.github.com/users/nazuna1/orgs","repos_url":"https://api.github.com/users/nazuna1/repos","events_url":"https://api.github.com/users/nazuna1/events{/privacy}","received_events_url":"https://api.github.com/users/nazuna1/received_events","type":"User","site_admin":false},"created_at":"2018-06-19T06:35:55Z","updated_at":"2018-06-19T06:35:55Z","author_association":"NONE","body":"@AnalysIR The below code is irrecvDumpV2 and same code outputs first issue data\r\n\r\nEncoding  : SANYO\r\nCode      : FFFFFFFF (0 bits)\r\nTiming[115]: \r\n     + 450, - 550     + 500, -1450     + 500, - 500     + 500, - 450\r\n     + 550, - 450     + 550, - 450     + 450, - 550     + 450, - 500\r\n     + 500, - 500     + 500, -1450     + 500, - 500     + 500, - 500\r\n     + 450, -1550     + 450, - 500     + 450, - 550     + 450, -1500\r\n     + 550, -1450     + 500, -1450     + 550, -1450     + 450, -1500\r\n     + 500, - 500     + 450, - 500     + 500, - 500     + 500, - 500\r\n     + 500, - 500     + 450, - 500     + 500, - 550     + 450, - 500\r\n     + 500, - 500     + 450, - 550     + 450, - 500     + 500, - 500\r\n     + 500, - 500     + 500, - 450     + 550, - 450     + 500, - 500\r\n     + 500, - 500     + 450, - 500     + 500, - 500     + 500, - 500\r\n     + 500, - 450     + 550, - 450     + 550, - 450     + 500, - 500\r\n     + 500, - 500     + 450, - 500     + 500, - 500     + 450, - 550\r\n     + 450, - 550     + 500, - 450     + 550, - 450     + 500, - 500\r\n     + 500, -1450     + 500, -1450     + 500, -1500     + 450, -1500\r\n     + 500, -2950     +2950\r\nunsigned int  rawData[115] = {450,550, 500,1450, 500,500, 500,450, 550,450, 550,450, 450,550, 450,500, 500,500, 500,1450, 500,500, 500,500, 450,1550, 450,500, 450,550, 450,1500, 550,1450, 500,1450, 550,1450, 450,1500, 500,500, 450,500, 500,500, 500,500, 500,500, 450,500, 500,550, 450,500, 500,500, 450,550, 450,500, 500,500, 500,500, 500,450, 550,450, 500,500, 500,500, 450,500, 500,500, 500,500, 500,450, 550,450, 550,450, 500,500, 500,500, 450,500, 500,500, 450,550, 450,550, 500,450, 550,450, 500,500, 500,1450, 500,1450, 500,1500, 450,1500, 500,2950, 2950};  // SANYO FFFFFFFF\r\nunsigned int  data = 0xFFFFFFFF;\r\n"}}
{"actor":{"display_login":"nazuna1"}}