-
-
Notifications
You must be signed in to change notification settings - Fork 3
Home
BlackTigers edited this page Dec 30, 2016
·
3 revisions
This Project contains the library and simulation for a LED Table made with LED stripes in different arrangements.
| Command | Description |
|---|---|
| begin() | Start LEDTable Operation |
| canShow() | Returns true if LEDTable is active |
| show() | Shows the set Pixels at LEDTable, all changes will only be visible if this is called |
| isOutsideTransformed(x,y) | Checks if the Coords x,y are inside the define LEDTable |
| updateColor(index,color) | Updates the color of the pixel with number index |
| updateColorTransformed(x,y,color) | Updates the color of the pixel x,y |
| fill(color) | Fills the whole LEDTable with color |
| fill(x,y,color) | Fills the LEDTable at x,y with color |
| fill(x1,y1,x2,y2,color) | Fills the LEDTable from x1,y1 to x2,y2 with color |
| at(x,y) | Returns the color of the pixel at x,y |
| ellipse(x1,y1,x2,y2,color) | Draws an ellipse from x1,y1 to x2,y2 colored in color |
| line(x1,y1,x2,y2,color) | Draws a line from x1,y1 to x2,y2 (up to 8 points as x3,y3,...) |
| originalHeight() | Returns the original height of the LEDTable |
| originalWidth() | Returns the original width of the LEDTable |
| height() | Returns the height of the LEDTable (switched compared to originalHeight) |
| width() | Returns the width of LEDTable |
| brightness(brightness) | Sets the brightness in percent |
| maxX() | Returns the maximum x value you can address |
| maxY() | Returns the maximum y value you can address |
| minX() | Returns the minimum x value you can address |
| minY() | Returns the minimum y value you can address |
| middleX() | Returns the horizontal middle |
| middleY() | Returns the vertical middle |
| isInside(x,y) | Check if x,y is inside the LEDTable |
| isOutside(x,y) | Reverse of isInside() |
| stripeIndex(x,y) | Returns the index of x,y at the stripe |
| stripeInexOriginal(x,y) | Just like stripeIndex(x,y) |
| brightnessAt(x,y) | Returns the brightness at x,y |
| printPixelOrderToSerial(serial) | Activates pixels by x,y coordinate |
| printToSerial(serial) | Activates pixels by NeoPixel index from 0 to the last pixel |