{"size": 298, "ext": "js", "max_stars_repo_path": "standard_modules/DMX.min.js", "max_stars_repo_name": "hotdropper/puck-js-ntag-emulation", "max_stars_repo_stars_event_min_datetime": "2021-01-15T03:32:08.000Z", "max_stars_repo_stars_event_max_datetime": "2021-01-15T03:32:08.000Z", "max_issues_repo_path": "standard_modules/DMX.min.js", "max_issues_repo_name": "hotdropper/puck-js-ntag-emulation", "max_issues_repo_issues_event_min_datetime": "2021-09-02T14:49:55.000Z", "max_issues_repo_issues_event_max_datetime": "2021-09-02T14:49:55.000Z", "max_forks_repo_path": "standard_modules/DMX.min.js", "max_forks_repo_name": "hotdropper/puck-js-ntag-emulation", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": 1, "max_forks_count": null, "avg_line_length": 298.0, "max_line_length": 298, "alphanum_fraction": 0.7080536913}
exports.connectRX=function(a,e,f){var d=Serial.find(a);if(!d)throw"No Serial peripheral found for pin";d.setup(25E4,{rx:a,errors:!0});var c=new Uint8Array(e),b=0;Serial1.on("data",function(a){c.set(a,b);b+=a.length});Serial1.on("framing",function(){b>=c.length&&f(new Uint8Array(c.buffer,1));b=0})}