Add basic auth ureqeusts and elementtree for xml.

Implement nextcloud directory listing.
This commit is contained in:
2023-10-28 21:45:05 -04:00
parent 42a6326591
commit ae8bafc8c3
6 changed files with 336 additions and 8 deletions

8
main.py Normal file
View File

@@ -0,0 +1,8 @@
import sdcard
import uNextcloud
import gc
sd_spi = machine.SPI(0, sck=machine.Pin(18, machine.Pin.OUT), mosi=machine.Pin(19, machine.Pin.OUT), miso=machine.Pin(16, machine.Pin.OUT))
sd = sdcard.SDCard(sd_spi, machine.Pin(22))
uos.mount(sd, "/sd")
gc.collect()