sdio.py

Script description: the script package contains 4 files and performs SD card raw data writing and reading using SPI bus. Files contained in the package are:

      main.py

      sd_defs.py

      sd_raw_drv.py

      sdio.py

User inputs: edit these GPIO values in the script

SCLK = 9                                         # SCLK: GPIO number used as SCLK

MOSI = 12                                        # MOSI: GPIO number used as MOSI

MISO = 11                                        # MISO: GPIO number used as MISO

SS = 8                                            # SS: GPIO number used as SS

Applicability: GSM/GPRS Telit products supporting Python1.5.2+ (e.g. GE864, GE865, GL865, GE910-QUAD V3, etc.)