from BlinkyTape import BlinkyTape

bb = BlinkyTape('/dev/tty.usbmodemfa131')

while True:

    for x in range(60):
        bb.sendPixel(10, 10, 10)
    bb.show()

    for x in range(60):
        bb.sendPixel(0, 0, 0)
    bb.show()

from BlinkyTape import BlinkyTape
import time

#bb = BlinkyTape('/dev/tty.usbmodemfa131')
bb = BlinkyTape('COM8')

while True:

    for x in range(60):
        bb.sendPixel(100, 100, 100)
    bb.show()

    time.sleep(.5)

    for x in range(60):
        bb.sendPixel(0, 0, 0)
    bb.show()

    time.sleep(.5)

Set it to flash black and white every second
Set it to flash black and white every second
  from BlinkyTape import BlinkyTape
+ import time
  
- bb = BlinkyTape('/dev/tty.usbmodemfa131')
+ #bb = BlinkyTape('/dev/tty.usbmodemfa131')
+ bb = BlinkyTape('COM8')
  
  while True:
  
      for x in range(60):
-         bb.sendPixel(10, 10, 10)
+         bb.sendPixel(100, 100, 100)
      bb.show()
+ 
+     time.sleep(.5)
  
      for x in range(60):
          bb.sendPixel(0, 0, 0)
      bb.show()
  
+     time.sleep(.5)
+ 
Set it to flash black and white every second
## Code Before:
from BlinkyTape import BlinkyTape

bb = BlinkyTape('/dev/tty.usbmodemfa131')

while True:

    for x in range(60):
        bb.sendPixel(10, 10, 10)
    bb.show()

    for x in range(60):
        bb.sendPixel(0, 0, 0)
    bb.show()

## Instruction:
Set it to flash black and white every second
## Code After:
from BlinkyTape import BlinkyTape
import time

#bb = BlinkyTape('/dev/tty.usbmodemfa131')
bb = BlinkyTape('COM8')

while True:

    for x in range(60):
        bb.sendPixel(100, 100, 100)
    bb.show()

    time.sleep(.5)

    for x in range(60):
        bb.sendPixel(0, 0, 0)
    bb.show()

    time.sleep(.5)
