-- http://www.phpmyadmin.net
--




--
-- Database: `gpio`
--
CREATE DATABASE `gpio` DEFAULT CHARACTER SET latin1 COLLATE latin1_swedish_ci;
USE `gpio`;

-- --------------------------------------------------------

--
-- Table structure for table `pinDescription`
--
-- Creation: Jun 09, 2012 at 07:50 PM
-- Last update: Jun 10, 2012 at 02:11 PM
--

CREATE TABLE IF NOT EXISTS `pinDescription` (
  `pinID` int(11) NOT NULL AUTO_INCREMENT,
  `pinNumber` varchar(2) COLLATE utf8_unicode_ci NOT NULL,
  `pinDescription` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`pinID`),
  UNIQUE KEY `pinNumber` (`pinNumber`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=9 ;

--
-- Dumping data for table `pinDescription`
--

INSERT INTO `pinDescription` (`pinID`, `pinNumber`, `pinDescription`) VALUES
(1, '4', 'Pin 4'),
(2, '17', 'Pin 17'),
(3, '18', 'Pin 18'),
(4, '21', 'Pin 21'),
(5, '22', 'Pin 22'),
(6, '23', 'Pin 23'),
(7, '24', 'Pin 24'),
(8, '25', 'Pin 25');

-- --------------------------------------------------------

--
-- Table structure for table `pinDirection`
--
-- Creation: Jun 09, 2012 at 06:18 PM
-- Last update: Jun 09, 2012 at 06:19 PM
--

CREATE TABLE IF NOT EXISTS `pinDirection` (
  `pinID` int(11) NOT NULL AUTO_INCREMENT,
  `pinNumber` varchar(2) COLLATE utf8_unicode_ci NOT NULL,
  `pinDirection` varchar(3) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`pinID`),
  UNIQUE KEY `pinNumber` (`pinNumber`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=9 ;

--
-- Dumping data for table `pinDirection`
--

INSERT INTO `pinDirection` (`pinID`, `pinNumber`, `pinDirection`) VALUES
(1, '4', 'out'),
(2, '17', 'out'),
(3, '18', 'out'),
(4, '21', 'out'),
(5, '22', 'out'),
(6, '23', 'out'),
(7, '24', 'out'),
(8, '25', 'out');

-- --------------------------------------------------------

--
-- Table structure for table `pinStatus`
--
-- Creation: Jun 09, 2012 at 05:30 PM
-- Last update: Jun 10, 2012 at 01:54 PM
--

CREATE TABLE IF NOT EXISTS `pinStatus` (
  `pinID` int(11) NOT NULL AUTO_INCREMENT,
  `pinNumber` varchar(2) COLLATE utf8_unicode_ci NOT NULL,
  `pinStatus` varchar(1) COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`pinID`),
  UNIQUE KEY `pinNumber` (`pinNumber`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=9 ;

--
-- Dumping data for table `pinStatus`
--

INSERT INTO `pinStatus` (`pinID`, `pinNumber`, `pinStatus`) VALUES
(1, '4', '0'),
(2, '17', '0'),
(3, '18', '0'),
(4, '21', '0'),
(5, '22', '0'),
(6, '23', '0'),
(7, '24', '0'),
(8, '25', '0');

