To Make The Onboard LED To Turn On:

from machine import Pin
led = Pin(25, Pin.OUT)
led.value(1)