From 8f50beb938bde0cd46fcd959a7e5e4ddcef36507 Mon Sep 17 00:00:00 2001 From: darzu Date: Tue, 30 Aug 2016 15:59:02 -0700 Subject: [PATCH] adds new custom NeoPixel svg --- docs/static/hardware/neopixel.svg | 32 +++++++++++++++++++++++++++++++ sim/visuals/neopixel.ts | 2 +- 2 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 docs/static/hardware/neopixel.svg diff --git a/docs/static/hardware/neopixel.svg b/docs/static/hardware/neopixel.svg new file mode 100644 index 00000000..2d4b81a4 --- /dev/null +++ b/docs/static/hardware/neopixel.svg @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/sim/visuals/neopixel.ts b/sim/visuals/neopixel.ts index da09f791..11116166 100644 --- a/sim/visuals/neopixel.ts +++ b/sim/visuals/neopixel.ts @@ -59,7 +59,7 @@ namespace pxsim.visuals { const NP_PART_YOFF = -11; const NP_PART_WIDTH = 87.5; const NP_PART_HEIGHT = 190; - const NEOPIXEL_PART_IMG = "neopixel-black-60-vert.svg"; + const NEOPIXEL_PART_IMG = "neopixel.svg"; let [x, y] = xy; let l = x + NP_PART_XOFF; let t = y + NP_PART_YOFF;