Raspberry Pi - GPIO Basics with Python
Given this code snippet, what will happen if a KeyboardInterrupt occurs?
import RPi.GPIO as GPIO
GPIO.setmode(GPIO.BCM)
try:
while True:
pass
finally:
GPIO.cleanup()