boot.py 573 B

12345678910111213141516171819
  1. """
  2. Author: Tobias Müller
  3. Date: 30.06.2023
  4. Version: 1.0
  5. The "boot.py" will be started before "main.py" and is used to setup the Pico.
  6. """
  7. ############################## Modules ##############################
  8. import gc
  9. from sys import path
  10. from machine import freq
  11. ############################## Code ##############################
  12. freq(125000000) # set clock speed of pico
  13. gc.enable() # enable automatic garbage collector
  14. path.append("/libs") # add path for libraries