[Snek] [keith-packard/snek] 33dfe9: metro-snek: Change NEOPIX to NEOPIXEL

Keith Packard noreply at github.com
Tue May 14 21:59:53 PDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/keith-packard/snek
  Commit: 33dfe94c260a297b608204e274e42cf244c2a67d
      https://github.com/keith-packard/snek/commit/33dfe94c260a297b608204e274e42cf244c2a67d
  Author: Keith Packard <keithp at keithp.com>
  Date:   2019-05-14 (Tue, 14 May 2019)

  Changed paths:
    M metro-snek/metro-snek.builtin

  Log Message:
  -----------
  metro-snek: Change NEOPIX to NEOPIXEL

Consistent with other devices that have on-board NeoPixel devices.

Signed-off-by: Keith Packard <keithp at keithp.com>


  Commit: 3039a611934ddeaf59fc9e24d9ed73d49b63418e
      https://github.com/keith-packard/snek/commit/3039a611934ddeaf59fc9e24d9ed73d49b63418e
  Author: Keith Packard <keithp at keithp.com>
  Date:   2019-05-14 (Tue, 14 May 2019)

  Changed paths:
    A snek-temperature.builtin
    A snek-temperature.c

  Log Message:
  -----------
  Add NTC thermistor conversion builtin

This requires that the target define the necessary parameters to
permit conversion from ADC input values to degrees C. For example, the
Circuit Playground Express board has a thermistor with nominal 10kΩ at
25° and a B value of 3950 connected from Vcc to the analog input, and
a 10k resistor from there to ground. The target defines the following
values:

Signed-off-by: Keith Packard <keithp at keithp.com>


  Commit: 057d2a7626042691573c62b4dd48b6103ad2e349
      https://github.com/keith-packard/snek/commit/057d2a7626042691573c62b4dd48b6103ad2e349
  Author: Keith Packard <keithp at keithp.com>
  Date:   2019-05-14 (Tue, 14 May 2019)

  Changed paths:
    M playground-snek/Makefile
    M playground-snek/ao-pins.h
    M playground-snek/playground-snek.builtin

  Log Message:
  -----------
  playground-snek: Add thermistor support

Signed-off-by: Keith Packard <keithp at keithp.com>


  Commit: 31e14c956284096683ce10658342f0946d8da1ab
      https://github.com/keith-packard/snek/commit/31e14c956284096683ce10658342f0946d8da1ab
  Author: Keith Packard <keithp at keithp.com>
  Date:   2019-05-14 (Tue, 14 May 2019)

  Changed paths:
    M doc/snek.adoc

  Log Message:
  -----------
  doc: Add neopixel and temperature functions. Describe SoC pins better

Document the neopixel and temperature builtin functions. Use labeled
paragraphs to highlight the documentation for pins on all devices.

Signed-off-by: Keith Packard <keithp at keithp.com>


Compare: https://github.com/keith-packard/snek/compare/28847d4c29bf...31e14c956284


More information about the Snek mailing list