For the ESP32 course? Which sensor do you want to read? Thanks for the suggestion!
Have you tried the default library example with the ESP32?
If you follow this guide, but you connect the sensor to the ESP32 SDA and SCL pins, the default code might work exactly with your sensor: https://learn.sparkfun.com/tutorials/apds-9960-rgb-and-gesture-sensor-hookup-guide/all
I don’t have that sensor and I’ve never used, so I don’t know exactly how it works.
If you encounter a specific error while testing those examples, please post the error here. I might be able to help!