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.
TI_NEOPIXEL.h
00001 #ifndef MBED_TI_NEOPIXEL_H 00002 #define MBED_TI_NEOPIXEL_H 00003 00004 #include "mbed.h" 00005 #include "PololuLedStrip.h" 00006 00007 class TI_NEOPIXEL 00008 { 00009 public: 00010 TI_NEOPIXEL(PinName input); 00011 void switchLightOff(int count); 00012 void switchLightOn(int count); 00013 00014 void changeColor(int count, rgb_color rgbColor); 00015 void changePointColor(int count, rgb_color topColor, rgb_color bottomColor); 00016 00017 void circle(int count, rgb_color rgbColor); 00018 void circleRainbow(int count); 00019 rgb_color convertHsvToRgb(float h, float s, float v); 00020 00021 private: 00022 PololuLedStrip _ledStrip; 00023 }; 00024 00025 #endif
Generated on Wed Jul 13 2022 16:00:03 by
1.7.2