Esp32/Components/driver/include/driver/pwm.h
Go to the documentation of this file.
1 /****
2  * Sming Framework Project - Open Source framework for high efficiency native ESP8266 development.
3  * Created 2015 by Skurydin Alexey
4  * http://github.com/SmingHub/Sming
5  * All files of the Sming Core are provided under the LGPL v3 license.
6  *
7  * pwm.h
8  *
9  ****/
10 
11 #pragma once
12 
13 #ifdef SOC_LEDC_CHANNEL_NUM
14 #define PWM_CHANNEL_NUM_MAX SOC_LEDC_CHANNEL_NUM
15 #else
16 // this should not happen if the correct esp32 includes are used, just to be absolutely sure
17 #define PWM_CHANNEL_NUM_MAX 8
18 #endif