changeset 47:e99852ba683a hickford/shieldsrst-edited-online-with-bitbucket-1498250134332

shields.rst edited online with Bitbucket
author Hickford <mirth.hickford@gmail.com>
date Fri, 23 Jun 2017 20:35:36 +0000
parents d2b66c111e26
children d43362696bd4
files shields.rst
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/shields.rst	Fri Nov 25 17:01:02 2016 +0100
+++ b/shields.rst	Fri Jun 23 20:35:36 2017 +0000
@@ -60,7 +60,7 @@
 
     form machine import Pin
     import neopixel
-    pixels = neopixel.Neopixel(Pin(4, Pin.OUT), 1)
+    pixels = neopixel.NeoPixel(Pin(4, Pin.OUT), 1)
     pixels[0] = (0xff, 0x00, 0x22)
     pixels.write()