You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
323B

  1. # Original file:
  2. # This file is executed on every boot (including wake-boot from deepsleep)
  3. #import esp
  4. #esp.osdebug(None)
  5. import uos, machine
  6. #uos.dupterm(None, 1) # disable REPL on UART(0)
  7. import gc
  8. #import webrepl
  9. #webrepl.start()
  10. gc.collect()
  11. # My additions:
  12. import main
  13. main.disableAP()
  14. main.connect()
  15. main.server()