I’m using AMB82 MINI with Arduino 4.0.4 SDK, and I wondering know how to rotate image in HTTPDisplayJPEGContinuous exaple? Thanks.
We have just added this function, however it is on the dev branch (GitHub - ambiot/ambpro2_arduino). If you would like to use the rotation function, you can download the following files and replace them in your Arduino15 folder.
- video_drv.c (cores folder)
- video_drv.h (cores folder)
- VideoStream.cpp (src folder)
- VideoStream.h (src folder)
For example, you can add the line highlighted.
0 (default): 0 degree
1: 90 degree (Rotate Right)
2: 90 degree (Rotate Left)
3: 180 degree
This function will be officially released in our next release, v4.0.5.
Thanks for your reply, it works perfectly!