This is the corrected schematic for connecting an LED to the GPIO of an Raspberry Pi. The original schematic was made by Software11.