This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from bibliopixel import LEDStrip | |
from bibliopixel.drivers.channel_order import ChannelOrder | |
from bibliopixel.drivers.serial import DriverSerial, LEDTYPE | |
from bibliopixel.drivers.serial.devices import Devices | |
from bibliopixel.animation import StripChannelTest | |
import bibliopixel.log as log | |
import time | |
log.setLogLevel(log.DEBUG) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=PixelWeb Server | |
After=multi-user.target | |
[Service] | |
Type=idle | |
ExecStart=screen -dS pixelweb -m run-pixelweb | |
[Install] | |
WantedBy=multi-user.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2016-09-26 23:50:25,652 - octoprint.server - INFO - Reset webasset folder /home/pi/.octoprint/generated/.webassets-cache... | |
2016-09-26 23:50:26,594 - octoprint.plugins.discovery - INFO - Registered OctoPrint instance on octopi for _http._tcp | |
2016-09-26 23:50:26,621 - octoprint.plugins.discovery - INFO - Registered OctoPrint instance on octopi for _octoprint._tcp | |
2016-09-26 23:50:26,627 - octoprint.plugins.discovery - INFO - Registered OctoPrint instance on octopi for SSDP | |
2016-09-26 23:50:26,865 - octoprint.plugins.pluginmanager - INFO - Loaded plugin repository data from http://plugins.octoprint.org/plugins.json | |
2016-09-26 23:50:26,960 - octoprint.server - INFO - Listening on http://127.0.0.1:5000 | |
2016-09-26 23:50:27,193 - octoprint.plugins.announcements - INFO - Loaded channel _important from http://octoprint.org/feeds/important.xml in 0.22s | |
2016-09-26 23:50:27,967 - octoprint.server - INFO - Preemptively caching / for {'query_string': 'l10n=en', 'path': '/', 'base_url': 'http://10.0.1.139/'} | |
2016-09-26 23: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
w __deregister_frame_info | |
w __fini_array_end | |
w __fini_array_start | |
w __libc_fini | |
w __register_frame_info | |
U __stack | |
w _Jv_RegisterClasses | |
U hardware_init_hook | |
U software_init_hook | |
00000000 T _VectorsFlash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*.pyc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <SmartMatrix3.h> | |
#include <EEPROM.h> | |
#define FIRMWARE_VER 2 | |
namespace CMDTYPE | |
{ | |
enum CMDTYPE | |
{ | |
SETUP_DATA = 1, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import time | |
from bibliopixel.drivers.driver_base import DriverBase, ChannelOrder | |
from bibliopixel import gamma | |
from neopixel import * | |
# Default LED strip configuration: | |
# num = 16 # Number of LED pixels. | |
# ledPin = 18 # GPIO pin connected to the pixels (must support PWM! pin 13 or 18 on RPi 3). | |
# ledFreqHz = 800000 # LED signal frequency in hertz (800khz or 400khz) | |
# ledDma = 5 # DMA channel to use for generating signal (Between 1 and 14) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from bibliopixel.animation import BaseAnimation | |
from threading import Lock | |
import time | |
class AnimationChooser(BaseAnimation): | |
def __init__(self, led): | |
super(AnimationChooser, self).__init__(led) | |
self.anims = {} | |
self.curAnim = None |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from bibliopixel.animation import BaseCircleAnim | |
import bibliopixel.colors as colors | |
class DiskBloom(BaseCircleAnim): | |
def __init__(self, led, spread = 1): | |
super(DiskBloom, self).__init__(led) | |
self.spread = spread | |
def step(self, amt = 8): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from bibliopixel import LEDCircle | |
def genDisplayParams(): | |
rings = [ | |
#14, | |
[348,349], | |
#13 | |
[342,343,344,345,346,347], | |
#12 | |
[334, 335, 336, 337, 338, 339, 340, 341], |