{"size": 831, "ext": "js", "max_stars_repo_path": "node_modules/bonescript/test/TODO/test-templates.js", "max_stars_repo_name": "kartik-nighania/BeagleBone-remote-seismometer-node-for-QCN", "max_stars_repo_stars_event_min_datetime": "2015-01-04T19:15:03.000Z", "max_stars_repo_stars_event_max_datetime": "2022-03-06T01:58:29.000Z", "max_issues_repo_path": "node_modules/bonescript/test/TODO/test-templates.js", "max_issues_repo_name": "kartik-nighania/BeagleBone_remote_seismometer_node", "max_issues_repo_issues_event_min_datetime": "2015-01-15T05:55:12.000Z", "max_issues_repo_issues_event_max_datetime": "2021-11-12T11:19:50.000Z", "max_forks_repo_path": "node_modules/bonescript/test/TODO/test-templates.js", "max_forks_repo_name": "kartik-nighania/BeagleBone_remote_seismometer_node", "max_forks_repo_forks_event_min_datetime": "2015-01-01T16:53:12.000Z", "max_forks_repo_forks_event_max_datetime": "2022-02-21T20:38:28.000Z"}
{"max_stars_count": 226, "max_issues_count": 111, "max_forks_count": 102, "avg_line_length": 24.4411764706, "max_line_length": 54, "alphanum_fraction": 0.4139590854}
var my = require('../node_modules/bonescript/my');
var bone = require('../node_modules/bonescript/bone');

var pin = 
    {
        "name": "PIN_NAME",
        "gpio": 0,
        "mux": "mux_name",
        "eeprom": 1,
        "pwm": {
            "module": "pwm_module",
            "index": 0,
            "muxmode": 4,
            "path": "pwmpath.0:0",
            "name": "PWMNAME"
        },
        "key": "P_NONE",
        "muxRegOffset": "0x0",
        "options": [
                "option0",
                "option1",
                "option2",
                "option3",
                "option4",
                "option5",
                "option6",
                "option7"
            ]
    };
var pinData = 0xFF;

my.create_dt(pin, pinData, 'bspm', false, true);
my.create_dt(pin, pinData, 'bspwm', false, true);
