See the arduino folder for Arduino examples and the circuitpython folder for CircuitPython examples.
arduino
circuitpython
Each directory has its own readme file so make sure to check that out before you try out the code.