Add basic auth ureqeusts and elementtree for xml.
Implement nextcloud directory listing.
This commit is contained in:
8
main.py
Normal file
8
main.py
Normal 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()
|
||||
Reference in New Issue
Block a user