title: Raspberry Pi 4 LED light blinking only blinks around 9 times, not continuously
body: <p>I have used the below Python code for Raspberry Pi 4 to have LED light blink continuously but I only blinks for around 10 times and stops. I need it to blink continuously.</p>
  <pre><code>import RPi.GPIO as GPIO
  import time
  
  redLED = 4
  
  GPIO.setmode(GPIO.BCM)
  GPIO.setup(redLED, GPIO.OUT)
  
  try:
     while True:
        GPIO.output(redLED, GPIO.HIGH)
        time.sleep(0.5)
        GPIO.output(redLED, GPIO.LOW)
        time.sleep(0.5)
  
  finally:
     GPIO.cleanup()
  </code></pre>