How to Use RGBLed_PWM With SkiiiD
by skiiiD in Circuits > Arduino
177 Views, 0 Favorites, 0 Comments
How to Use RGBLed_PWM With SkiiiD

This project is an instruction of "how to use RGBLed_PWM 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/
Step 1: Launch SkiiiD

Launch skiiiD and select New button
Step 2: 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.
Step 3: Add Component

Click '+' (Add Component Button) to search and select the component.
Step 4: Search or Find a Component

① Type 'RGBLed' on the search bar or find the Buzzer module on the list.
Step 5: Select RGBLed

② Select RGBLed_PWM Module
Step 6: Pin Indication and Configuration

then you can see ③ pin indication. (You can configure it.)
*This module has 4 pins to connect
skiiiD Editor automatically indicate pin setting *configuration available
[Default Pin Indication for Button Module] in case of Arduino UNO
Red: 3
Green: 5
Blue: 6
GND: GND
After configuring pins ④ click ADD button on the right below side
Step 7: Check Added Module

⑤ Added Module has appeared on the right panel
Step 8: SkiiiD Code of RGBLed Module
_12_11_2019_11_39_04_am_ISJhQN4R5L.jpg)
skiiiD Code is intuitive function-based codes. This is based on skiiiD libraries
on() - Turn on LED.
Variable 'r','g','b': Change brighntess of "red", "green", "blue" LED.
Variable brightness : Change brighness of all LED, default : 100."
Example - on(255,255,255,100); = turns on white LED light with full brightness
off() - Turn off LED.
Toggle() - Toggle. Switch turn on states to off or vice versa.
Variable 'r','g','b': Change brighntess of \"red\", \"green\", \"blue\" LED.
Variable brightness : Change brighness of all LED, default : 100."
blink() - Blink LED.
Variable 'r','g','b': Change brighntess of \"red\", \"green\", \"blue\" LED.
Variable interval : Time interval between blink LED, default : 1,000ms
Variable brightness : Change brighness of all LED, default : 100.
fadeIn() - Gradual increase the intensity of LED light during the time interval.
Variable 'r','g','b': Change brighntess of \"red\", \"green\", \"blue\" LED.
Variable interval : Time interval until LED increasing the intensity to maximum, default : 1,000ms
Variable brightness : Change brighness of all LED, default : 100.
fadeOut() - Gradual decrease the intensity of LED light during the time interval.
Variable interval : Time interval until LED decreasing the intensity to minimum, default : 1,000ms
Variable brightness : Change brighness of all LED, default : 100.
Step 9: 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://www.youtube.com/channel/UCfS2RQL3m3hVoHkF...
Comments are fine too!