Here is the orientation code I have used and I didn't find any functions for orientation change and Here i have used Arduino IDE with Esp32.
Here is the orientation code I have used and I didn't find any functions for orientation change and Here i have used Arduino IDE with Esp32.