How to Use PowerLed3W With SkiiiD
by skiiiD in Circuits > Arduino
134 Views, 0 Favorites, 0 Comments
How to Use PowerLed3W With SkiiiD
This project is an instruction of "how to use Segment 3642BH with Arduino via skiiiD
Before start, below is a basic tutorial for how to use skiiiD https://www.instructables.com/id/Getting-Started-With-SkiiiD-Editor/
Launch SkiiiD
Launch skiiiD and select New button
Select Arduino UNO
Select ① Arduino Uno and then click ② OK button
*This is Tutorial, and we use Arduino UNO. Other boards(Mega, Nano) have the same process.
Add Component
Click '+' (Add Component Button) to search and select the component.
Search or Find a Component
① Type 'Power' on the search bar or find the PowerLed 3W on the list.
Select PowerLed3W
② Select PowerLed3W Module
Pin Indication and Configuration
then you can see ③ pin indication. (You can configure it.)
*This module has 3 pins to connect
skiiiD Editor automatically indicate pin setting *configuration available
[Default Pin Indication for PowerLed3WModule] in case of Arduino UNO
S: 3
+: 5V
GND: GND
After configuring pins ④ click ADD button on the right below side
Check Added Module
⑤ Added Module has appeared on the right panel
SkiiiD Code of PowerLed3W Module
skiiiD Code is intuitive function-based codes. This is based on skiiiD libraries
on()
"Turn on the LED."
off()
"Turn off the LED."
toggle()
"Toggle. Switch turn on states to off or vice versa. \nBrightness will be applied when the LED turn on.(Brightness Range: 0 ~ 255)"
blink()
"Blink LED.\nVariable interval : Time interval between blink LED, default : 1,000ms\nVariable brightness : Change brighness of LED, default : 100(Brightness range: 0 ~ 255)."
fadeIn()
"Gradual increase the intensity of LED light during the time interval.\nVariable interval : Time interval until LED increasing the intensity to maximum, default : 1,000ms.\nVariable brightness : Change brighness of LED, default : 100."
fadeOut()
"Gradual decrease the intensity of LED light during the time interval.\nVariable interval : Time interval until LED increasing the intensity to minimum, default : 1,000ms.\nVariable brightness : Change brighness of LED, default : 100."
Contact and Feedback
We are working on components and boards libraries. Feel free to use it and feedback us, please. Below is contact methods
email: contact@skiiid.io
twitter: https://twitter.com/skiiiD_official
Youtube: https://twitter.com/skiiiD_official