diff --git a/readme.md b/readme.md index 61c2031..7dd866a 100644 --- a/readme.md +++ b/readme.md @@ -1788,9 +1788,10 @@ Standard domed through hole LEDs. Can specify colour and lead length. ### Vitamins | Qty | Module call | BOM entry | | ---:|:--- |:---| -| 1 | `led(LED10mm)` | LED 10 mm red | +| 1 | `led(LED10mm, "green")` | LED 10 mm green | | 1 | `led(LED3mm, "green")` | LED 3 mm green | | 1 | `led(LED5mm, "blue")` | LED 5 mm blue | +| 1 | `led(LED8mm)` | LED 8 mm red | Top diff --git a/tests/png/leds.png b/tests/png/leds.png index 99e09e5..0d2cdc8 100644 Binary files a/tests/png/leds.png and b/tests/png/leds.png differ diff --git a/vitamins/leds.scad b/vitamins/leds.scad index 5c2a459..34527cf 100644 --- a/vitamins/leds.scad +++ b/vitamins/leds.scad @@ -27,8 +27,9 @@ // LED3mm = ["LED3mm", 3, 3.15, 1.15, 4.6, 2.54, 0.4]; LED5mm = ["LED5mm", 5, 5.9, 1.1, 9.0, 2.54, 0.4]; +LED8mm = ["LED8mm", 8, 9.2, 1.95,11.0, 2.54, 0.4]; LED10mm = ["LED10mm", 10, 11.0, 2.0, 13.5, 2.54, 0.4]; -LEDs = [LED3mm, LED5mm, LED10mm]; +LEDs = [LED3mm, LED5mm, LED8mm, LED10mm]; use