changeset 48:d43362696bd4

Merged in hickford/d1workshop/hickford/shieldsrst-edited-online-with-bitbucket-1498250134332 (pull request #2) shields.rst edited online with Bitbucket Approved-by: Radomir Dopieralski <bitbucket@sheep.art.pl>
author Radomir Dopieralski <bitbucket@sheep.art.pl>
date Fri, 23 Jun 2017 20:54:04 +0000
parents d2b66c111e26 (current diff) e99852ba683a (diff)
children 6482082f9187
files
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:54:04 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()