| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • Stop wasting time looking for files and revisions. Connect your Gmail, DriveDropbox, and Slack accounts and in less than 2 minutes, Dokkio will automatically organize all your file attachments. Learn more and claim your free account.

View
 

Frankenlight

Page history last edited by dodgerdogkris@... 7 years, 2 months ago

Disco Ball Methods

 

start();

  • ·         Starts off the disco ball with a 4 LED counter

 

allOff();

  • ·         Turns all LEDs off

 

allOn(int time)

  •         Turns all LEDs on including the SB LED

 

colorOn(int time)

  •         Turns on all the color LEDs

 

superBright(int time)

  •         Turns on the super bright LED

 

redOnly(int time)

  • ·         Turns on all the red LEDs

 

blueOnly(int time)

  •         Turns on all the blue LEDs

 

greenOnly(int time)

  •         Turns on all the green LEDs

 

leftToRightBlink(int speed)

  •         Makes the middle row blink left to right at a set speed in milliseconds

 

rightToLeftBlink(int speed)

  •         Makes the middle row blink right to left at a set speed in milliseconds

 

sixDie(int time)

  •         Turns on all of the LEDs in the 1st and 3rd row

 

centerOnly(int time)

  •         Turns on the center 3 x 3

 

christmas(int time)

  •         Turns on just the green and red

 

leftSide(int time)

  •         Lights up just the left side

 

rightSide(int time)

  •         Lights up just the right side

 

middleLeft(int time)

  •         Lights up the middle and the left side

 

middleRight(int time)

  •         Lights up the middle and the right side

 

randomLight(int time, int length)

  •         Lights up the whole ball with control of the time it works and length of each light

 

ccledChaseMid(int timer, int length)

  • ·         Makes the 3 x 3 LED chase in the middle counter clockwise

 

cledChaseMid(int timer, int length)

  • ·         Makes the 3 x 3 LED chase in the middle clockwise

 

xFormation(int timer)

  • ·         Lights up the center in an X shape

 

topRow(int timer)

  • ·         Lights up the top row

 

middleRow(int timer)

  • ·         Lights up the middle row

 

int bottomRow (int timer)

  • ·         Lights up the bottom row

 

 

 

 

Comments (0)

You don't have permission to comment on this page.