LedBar Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
LedBar class to support grove LedBar http://wiki.seeedstudio.com/Grove-LED_Bar/
public class LedBar
type LedBar = class
Public Class LedBar
- Inheritance
-
LedBar
Led |
LedBar constructor |
Led |
LedBar constructor |
Orientation |
Get/Set the Led bar orientation |
Sensor |
Get the name Led Bar |
Supported |
Only Digital ports only but you can't create more than 4 bars as each bar is using 2 Pins So you have to have at least 1 Grove Port empty between 2 bars |
Value |
Get/Set the level from 0 (no led on) to 10 (all leds on) |
Get |
Get the status of all leds |
Set |
Set all leds to either on or off by setting 1 as byte for on 0 for off. lowser bit is led 0 |
Set |
Set one led |
Toggle |
Toggle the state of a led |
To |
Returns the Level formatted |
ผลิตภัณฑ์ | เวอร์ชัน |
---|---|
.NET IoT Libraries | 1.0.0, 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.5.0, 2.0.0, 2.1.0, 2.2.0 |