Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: NeoPixelI2cSlave NeoPixelI2cSlave
neopixel_string.h
00001 #pragma once 00002 00003 #include "neopixel.h" 00004 #include "colors.h" 00005 00006 class NeoPixelString : public neopixel::PixelArray { 00007 00008 private: 00009 unsigned int length; 00010 neopixel::Pixel * pixels; 00011 00012 public: 00013 NeoPixelString(PinName spi_pin, unsigned int length); 00014 unsigned int getLength(void); 00015 void update(void); 00016 void update(neopixel::Pixel singlecolor); 00017 void diagnose(void); 00018 neopixel::Pixel getPixel(unsigned int i); 00019 void setPixel(unsigned i, neopixel::Pixel pixel); 00020 };
Generated on Fri Jul 15 2022 00:27:27 by
1.7.2