MetaWear C# SDK  1.2.0
C# API for MbientLab's sensor platform
Public Member Functions | List of all members
MbientLab.MetaWear.Peripheral.INeoPixel Interface Reference

A brand of RGB led strips by Adafruit More...

Inheritance diagram for MbientLab.MetaWear.Peripheral.INeoPixel:
MbientLab.MetaWear.IModule

Public Member Functions

IStrand InitializeStrand (byte id, ColorOrdering ordering, StrandSpeed speed, byte gpioPin, byte nLeds)
 Initialize memory on the MetaWear board for a NeoPixel strand More...
 
IStrand LookupStrand (byte id)
 Find the object corresponding to the strand number More...
 

Detailed Description

A brand of RGB led strips by Adafruit

Member Function Documentation

◆ InitializeStrand()

IStrand MbientLab.MetaWear.Peripheral.INeoPixel.InitializeStrand ( byte  id,
ColorOrdering  ordering,
StrandSpeed  speed,
byte  gpioPin,
byte  nLeds 
)

Initialize memory on the MetaWear board for a NeoPixel strand

Parameters
idStrand number (id) to initialize, can be in the range [0, 2]
orderingColor ordering format
speedOperating speed
gpioPinGPIO pin the strand is connected to
nLedsNumber of LEDs to use
Returns
Object representing the initialized strand

◆ LookupStrand()

IStrand MbientLab.MetaWear.Peripheral.INeoPixel.LookupStrand ( byte  id)

Find the object corresponding to the strand number

Parameters
idIndex the virtual pin is using
Returns
Object representing the strand, null if not found

The documentation for this interface was generated from the following file: