Hi,
I was trying to figure out how the lights fade in/out while reaching the target duty in IoT Demo. The code for fading the duty to its target is defined in the user_light_adj.c file. While it uses a 40 items based array of pwm_param named LightEvtArr and uses it to change the target duty of each PIN with smooth transition, I have not found out how and where is this array defined which is used to change the values.
Can you please share some details into the smoothing transitioning effect especially how and where is this array of pwm_param named LightEvtArr populated?
Looking forward to hear from you!
Paritosh
Fading of light in IoT_Demo example
-
- Posts: 10
- Joined: Sat May 23, 2015 1:24 pm
Who is online
Users browsing this forum: No registered users and 65 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.