At the end of the day - you just need to spend time taking small steps
Get acquainted with the very basics of C++ and the IDE
Light a led
Print the value of a potentiometer
Use millis to drive something asynchronously (study blink without delay as a start)
Then For extra information and examples look at
- Using millis() for timing. A beginners guide
- Several things at the same time
- Flashing multiple LEDs at the same time
you might benefit from studying state machines. Here is a small introduction to the topic: Yet another Finite State Machine introduction
Like everything in life, efforts and patience are required. Rome wasn’t built in a day.
Now if you waited till the last minute thinking the forum would solve that for you then bad news….you’ll have to face the music or copy a friend’s work and cross fingers that chatGPT will do it for you…