High-Side Power/Current Sensor
The ultrasonic distance sensor example uses many different peripherals and focuses on deterministic behavior.
A short video about the Microchip Device Wall.