Skip to content

Commit

Permalink
Update GPIO file comments to include Pi3
Browse files Browse the repository at this point in the history
  • Loading branch information
NeonHorizon committed Nov 17, 2016
1 parent 4766cfa commit 80be89d
Show file tree
Hide file tree
Showing 9 changed files with 19 additions and 9 deletions.
2 changes: 1 addition & 1 deletion default_config/berryio/gpio.2b.example.php
Expand Up @@ -72,7 +72,7 @@
*/


// Settings for model A+, B+, Pi 2 model B and Zero boards
// Settings for A+, B+, 2B, 3B and Zero boards
$GLOBALS['GPIO_PINS'] = array(
2 => 'I2C SDA1',
3 => 'I2C SCL1',
Expand Down
2 changes: 1 addition & 1 deletion default_config/berryio/gpio.3b.example.php
Expand Up @@ -72,7 +72,7 @@
*/


// Settings for model A+, B+, Pi 2 model B and Zero boards
// Settings for A+, B+, 2B, 3B and Zero boards
$GLOBALS['GPIO_PINS'] = array(
2 => 'I2C SDA1',
3 => 'I2C SCL1',
Expand Down
2 changes: 1 addition & 1 deletion default_config/berryio/gpio.a_plus.example.php
Expand Up @@ -72,7 +72,7 @@
*/


// Settings for model A+, B+, Pi 2 model B and Zero boards
// Settings for A+, B+, 2B, 3B and Zero boards
$GLOBALS['GPIO_PINS'] = array(
2 => 'I2C SDA1',
3 => 'I2C SCL1',
Expand Down
2 changes: 1 addition & 1 deletion default_config/berryio/gpio.b_plus.example.php
Expand Up @@ -72,7 +72,7 @@
*/


// Settings for model A+, B+, Pi 2 model B and Zero boards
// Settings for A+, B+, 2B, 3B and Zero boards
$GLOBALS['GPIO_PINS'] = array(
2 => 'I2C SDA1',
3 => 'I2C SCL1',
Expand Down
2 changes: 1 addition & 1 deletion default_config/berryio/gpio.compute_module.example.php
Expand Up @@ -76,7 +76,7 @@
*/


// Settings for model A+, B+, Pi 2 model B and Zero boards
// Settings for A+, B+, 2B, 3B and Zero boards
$GLOBALS['GPIO_PINS'] = array(
2 => 'I2C SDA1',
3 => 'I2C SCL1',
Expand Down
2 changes: 1 addition & 1 deletion default_config/berryio/gpio.php
Expand Up @@ -72,7 +72,7 @@
*/


// Settings for model A+, B+, Pi 2 model B and Zero boards
// Settings for A+, B+, 2B, 3B and Zero boards
$GLOBALS['GPIO_PINS'] = array(
2 => 'I2C SDA1',
3 => 'I2C SCL1',
Expand Down
2 changes: 1 addition & 1 deletion default_config/berryio/gpio.rev1.0.example.php
Expand Up @@ -70,7 +70,7 @@
*/


// Settings for model A+, B+, Pi 2 model B and Zero boards
// Settings for A+, B+, 2B, 3B and Zero boards
/*
$GLOBALS['GPIO_PINS'] = array(
2 => 'I2C SDA1',
Expand Down
2 changes: 1 addition & 1 deletion default_config/berryio/gpio.rev2.0.example.php
Expand Up @@ -70,7 +70,7 @@
*/


// Settings for model A+, B+, Pi 2 model B and Zero boards
// Settings for A+, B+, 2B, 3B and Zero boards
/*
$GLOBALS['GPIO_PINS'] = array(
2 => 'I2C SDA1',
Expand Down
12 changes: 11 additions & 1 deletion default_config/berryio/gpio.zero.example.php
Expand Up @@ -33,6 +33,8 @@
25 => 'GPIO_GEN6',
);
*/


// Settings for revision 2 board (including 512MB version but not A+ or B+)
/*
$GLOBALS['GPIO_PINS'] = array(
Expand All @@ -55,6 +57,7 @@
27 => 'GPIO_GEN2',
);
*/

// Extra GPIO Pins on the optional P5 header on the revision 2 board
/*
$GLOBALS['GPIO_PINS'] += array(
Expand All @@ -64,7 +67,9 @@
31 => '',
);
*/
// Settings for model A+, B+, Pi 2 model B and Zero boards


// Settings for A+, B+, 2B, 3B and Zero boards
$GLOBALS['GPIO_PINS'] = array(
2 => 'I2C SDA1',
3 => 'I2C SCL1',
Expand Down Expand Up @@ -92,13 +97,18 @@
26 => '',
27 => 'GPIO_GEN2',
);


define('GPIO_PINS_PER_ROW', 5); // Change to fit your browser window

// This value specifies the delay between updates of the GPIO information on the
// GPIO Status web page. Making these intervals too small will create a high CPU
// load when viewing. It should be noted the updates only take place when
// someone is viewing the BerryIO GPIO Status Page, your performance will be
// unaffected at other times.
// Update interval is in ms (1000ms = 1 second)
define('GPIO_UPDATE_INTERVAL', 400);


// Do not change below this line
define('GPIO_SETTINGS_VERSION', '3');

0 comments on commit 80be89d

Please sign in to comment.