{"size": 271, "ext": "js", "max_stars_repo_path": "Cliente_Servidor/LCD/node_modules/pigpio/example/gpio-info.js", "max_stars_repo_name": "JulioCaballero/Raspberry", "max_stars_repo_stars_event_min_datetime": "2015-11-01T20:10:19.000Z", "max_stars_repo_stars_event_max_datetime": "2022-03-31T03:10:30.000Z", "max_issues_repo_path": "Cliente_Servidor/LCD/node_modules/pigpio/example/gpio-info.js", "max_issues_repo_name": "JulioCaballero/Raspberry", "max_issues_repo_issues_event_min_datetime": "2015-11-17T03:14:55.000Z", "max_issues_repo_issues_event_max_datetime": "2021-12-07T22:06:35.000Z", "max_forks_repo_path": "Cliente_Servidor/LCD/node_modules/pigpio/example/gpio-info.js", "max_forks_repo_name": "JulioCaballero/Raspberry", "max_forks_repo_forks_event_min_datetime": "2016-08-22T20:23:53.000Z", "max_forks_repo_forks_event_max_datetime": "2022-02-21T08:43:16.000Z"}
{"max_stars_count": 882, "max_issues_count": 134, "max_forks_count": 107, "avg_line_length": 19.3571428571, "max_line_length": 72, "alphanum_fraction": 0.5719557196}
'use strict';

const Gpio = require('../').Gpio;

for (let gpioNo = Gpio.MIN_GPIO; gpioNo <= Gpio.MAX_GPIO; gpioNo += 1) {
  const gpio = new Gpio(gpioNo);

  console.log('GPIO ' + gpioNo + ':' +
    ' mode=' + gpio.getMode() +
    ' level=' + gpio.digitalRead()
  );
}

