ESP 32 has two periphherals which are used for PWM:
- LEDC module, primarily designed to control the intensity of LEDs, although it can be used to generate PWM signals for other purposes as well. It has 16 channels which can generate independent waveforms.
- two MCPWM units which can be used to control different motors.
I'm planning to add support for MCPWM in January with support for various types of motors/motor drivers.
There is a bug in esp-idf driver preventing using sdcard in SPI mode and display at the same time.
If sdcard is connected in SD mode you can use sdcard and display, but make shure none of display spi pins is connected to any of gpios used for sdcard (CMO-15, CLK-14, D0-2, D1-4, D2-12, D3-13).
I've just tested it on ESP32-WROVER-KIT and it works (display image from sdcard).