Raspbery Pi learning by using Python with WiringPi library
Sample code only tested in Raspbian. Raspbian have wiringPi library pre-installed. Please install wiringPi library and other necessary library to the platform you want to test.
This Raspberry Pi project code structure is derived from Sunfounder Super Kit V2 python code. Pictures used in sample code are come from Sunfounder learning course web page. (https://www.sunfounder.com/learn/category/Super_Kit_V2_for_RaspberryPi.html)