@@ -0,0 +1,897 @@
+#!/usr/bin/python%0A#+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+%0A#%7CR%7Ca%7Cs%7Cp%7Cb%7Ce%7Cr%7Cr%7Cy%7CP%7Ci%7C.%7Cc%7Co%7Cm%7C.%7Ct%7Cw%7C%0A#+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+%0A# Copyright (c) 2016, raspberrypi.com.tw%0A# All rights reserved.%0A# Use of this source code is governed by a BSD-style license that can be%0A# found in the LICENSE file.%0A#%0A# adjust_led_bright.py%0A# Adjust the bright of a led by software PWM%0A#%0A# Author : sosorry%0A# Date   : 06/22/2014%0A%0Aimport RPi.GPIO as GPIO%0Aimport time%0A%0AGPIO.setmode(GPIO.BOARD)%0ALED_PIN = 12%0AGPIO.setup(LED_PIN, GPIO.OUT)%0A%0Apwm_led = GPIO.PWM(LED_PIN, 100)%0Apwm_led.start(0)%0Aduty = 1%0Aaddormin = 1%0A%0Atry:%0A    while True:%0A%0A        addormin = (duty == 100 and -1) or (duty == 1 and 1) or addormin%0A%0A        pwm_led.ChangeDutyCycle(duty)%0A%0A        duty += addormin%0A%0A        time.sleep(0.01)%0A%0Aexcept KeyboardInterrupt:%0A    print(%22Exception: KeyboardInterrupt%22)%0A%0Afinally:%0A    pwm_led.stop()%0A    GPIO.cleanup()%0A

Create led_blink_signal.py