The ultrasonic distance sensor example uses many different peripherals and focuses on deterministic behavior.