
"""Display standard input on LEDs."""

import sys
import RPi.GPIO as GPIO
from seven_segment import print_leds

pins = [17, 23, 24, 22, 27, 25, 5]
GPIO.setmode(GPIO.BCM)
GPIO.setup(pins, GPIO.OUT)

pipe_contents = sys.stdin.read()

print_leds(pipe_contents, pins)

GPIO.cleanup()


"""Display standard input on LEDs."""

import sys
import RPi.GPIO as GPIO
from seven_segment import print_leds


pins = [6, 19, 5, 13, 20, 12, 16]
GPIO.setmode(GPIO.BCM)
GPIO.setup(pins, GPIO.OUT)

pipe_contents = sys.stdin.read()

print_leds(pipe_contents, pins, 1/2.0)

GPIO.cleanup()

Set up for my new 7 seg display.
Set up for my new 7 seg display.

  
  """Display standard input on LEDs."""
  
  import sys
  import RPi.GPIO as GPIO
  from seven_segment import print_leds
  
- pins = [17, 23, 24, 22, 27, 25, 5]
+ 
+ pins = [6, 19, 5, 13, 20, 12, 16]
  GPIO.setmode(GPIO.BCM)
  GPIO.setup(pins, GPIO.OUT)
  
  pipe_contents = sys.stdin.read()
  
- print_leds(pipe_contents, pins)
+ print_leds(pipe_contents, pins, 1/2.0)
  
  GPIO.cleanup()
  
Set up for my new 7 seg display.
## Code Before:

"""Display standard input on LEDs."""

import sys
import RPi.GPIO as GPIO
from seven_segment import print_leds

pins = [17, 23, 24, 22, 27, 25, 5]
GPIO.setmode(GPIO.BCM)
GPIO.setup(pins, GPIO.OUT)

pipe_contents = sys.stdin.read()

print_leds(pipe_contents, pins)

GPIO.cleanup()

## Instruction:
Set up for my new 7 seg display.
## Code After:

"""Display standard input on LEDs."""

import sys
import RPi.GPIO as GPIO
from seven_segment import print_leds


pins = [6, 19, 5, 13, 20, 12, 16]
GPIO.setmode(GPIO.BCM)
GPIO.setup(pins, GPIO.OUT)

pipe_contents = sys.stdin.read()

print_leds(pipe_contents, pins, 1/2.0)

GPIO.cleanup()
