{"action":"created","issue":{"url":"https://api.github.com/repos/nodemcu/nodemcu-firmware/issues/436","labels_url":"https://api.github.com/repos/nodemcu/nodemcu-firmware/issues/436/labels{/name}","comments_url":"https://api.github.com/repos/nodemcu/nodemcu-firmware/issues/436/comments","events_url":"https://api.github.com/repos/nodemcu/nodemcu-firmware/issues/436/events","html_url":"https://github.com/nodemcu/nodemcu-firmware/issues/436","id":79586495,"number":436,"title":"irsend.lua for nodemcu devkit 0.9","user":{"login":"anusoft","id":201861,"avatar_url":"https://avatars.githubusercontent.com/u/201861?v=3","gravatar_id":"","url":"https://api.github.com/users/anusoft","html_url":"https://github.com/anusoft","followers_url":"https://api.github.com/users/anusoft/followers","following_url":"https://api.github.com/users/anusoft/following{/other_user}","gists_url":"https://api.github.com/users/anusoft/gists{/gist_id}","starred_url":"https://api.github.com/users/anusoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anusoft/subscriptions","organizations_url":"https://api.github.com/users/anusoft/orgs","repos_url":"https://api.github.com/users/anusoft/repos","events_url":"https://api.github.com/users/anusoft/events{/privacy}","received_events_url":"https://api.github.com/users/anusoft/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2015-05-22T19:54:21Z","updated_at":"2015-06-23T21:14:56Z","closed_at":null,"body":"```\r\n  -- NB: poorman 38kHz PWM with 1/3 duty. Touch with care! )\r\n  local carrier = function(pin, c)\r\n    c = c / NEC_PULSE_US\r\n    while c > 0 do\r\n      write(pin, 1)\r\n      write(pin, 0)\r\n--      c = c + 0\r\n--      c = c + 0\r\n--      c = c + 0\r\n--      c = c + 0\r\n--      c = c + 0\r\n--      c = c + 0\r\n      c = c * 1\r\n      c = c * 1\r\n      c = c * 1\r\n      c = c - 1\r\n    end\r\n  end\r\n```\r\n\r\nCommenting few lines and working correctly on nodemcu devkit v0.9 firmware nodemcu_float_0.9.6-dev_20150406.bin.\r\n\r\nTesting with tsop4838+ir emitter on D1 (GPIO 05)."},"comment":{"url":"https://api.github.com/repos/nodemcu/nodemcu-firmware/issues/comments/114643534","html_url":"https://github.com/nodemcu/nodemcu-firmware/issues/436#issuecomment-114643534","issue_url":"https://api.github.com/repos/nodemcu/nodemcu-firmware/issues/436","id":114643534,"user":{"login":"TerryE","id":690173,"avatar_url":"https://avatars.githubusercontent.com/u/690173?v=3","gravatar_id":"","url":"https://api.github.com/users/TerryE","html_url":"https://github.com/TerryE","followers_url":"https://api.github.com/users/TerryE/followers","following_url":"https://api.github.com/users/TerryE/following{/other_user}","gists_url":"https://api.github.com/users/TerryE/gists{/gist_id}","starred_url":"https://api.github.com/users/TerryE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TerryE/subscriptions","organizations_url":"https://api.github.com/users/TerryE/orgs","repos_url":"https://api.github.com/users/TerryE/repos","events_url":"https://api.github.com/users/TerryE/events{/privacy}","received_events_url":"https://api.github.com/users/TerryE/received_events","type":"User","site_admin":false},"created_at":"2015-06-23T21:14:56Z","updated_at":"2015-06-23T21:14:56Z","body":"@dvv, the xtensa architecture is quite novel in some ways.  It doesn't use a classic VM approach but as far as I can see it has a partitioned Harvard-style architecture where a region of its RAM is configured as a cache in front of Flash Memory, and  it faults this into RAM on a \"page\" basis, and this effectively is a arge firwmare pool.   \"ROMtable\" is really just mapped onto this firmware load mechanism."}}