# THIS IS THE PYTHON CODE FOR PiFACE OUTPUT ON
#    
#	Copyright (C) 2014  Tim Massey
#
#    This program is free software: you can redistribute it and/or modify
#    it under the terms of the GNU General Public License as published by
#    the Free Software Foundation, either version 3 of the License, or
#    (at your option) any later version.
#
#    This program is distributed in the hope that it will be useful,
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#    GNU General Public License for more details.
#
#    You should have received a copy of the GNU General Public License
#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
#    Also add information on how to contact you by electronic and paper mail.
  
#!/usr/bin/python

import pifacedigitalio
pifacedigital = pifacedigitalio.PiFaceDigital()
pifacedigital.output_pins[0].turn_on()  
pifacedigital.output_pins[1].turn_on()  
pifacedigital.output_pins[2].turn_on()  
pifacedigital.output_pins[3].turn_on()  
pifacedigital.output_pins[4].turn_on()  
pifacedigital.output_pins[5].turn_on()  
pifacedigital.output_pins[6].turn_on()  
pifacedigital.output_pins[7].turn_on()  
