This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

MPU9250 with PWM logic

Hello friends,

i am new to embedded programming and trying to learn the new things in embedded for this i am doing 1 project in which i am using mpu9250 with pwm.

is it possible to glow 4 different LEDs using single pwm module having four channels and how it can work at same time for same duty cycle.

i am also using mpu9250 for accelerometer values, how can i change this like if change in x direction then only 1 LED will glow and if change in y direction then different LED will glow.

i was trying by manipulating examples but only one LED is glowing. how can i implement this with proper logic.

please help me with this

thank you

Related