Skip to main content

File operations (SD card)

 

\

These functions are implemented in versions of BASIC for the DataLogger and Teensy3.0/3.1.  Other versions on Coridium boards are currently under development.

The current version limits the use to having only 1 file open at a time, and only operations in the root directory. File names are limited of up to 8 characters period followed by up to 3 characters. Spaces are NOT allowed in filenames.

File Functions
    FILEOPEN  
    FILEREADDIR
    FILEREADBYTE 
    FILEWRITEBYTE  
    FILEEOF
    FILECLOSE  

**Data Logger**

****The LPC4330 based DataLogger has an SDcard socket and supports the File operations.

\

Connections for SuperPRO (unreleased alpha version)

 

  • SD DI  --   MOSI   P0.18
  • SD DO --  MISO   P0.17
  • SD SCK -- SCK    P0.15
  • SD CS --  SSEL   P0.16

Connections for mBed

Connections for ArchPro


 The connections are made on the SPI connector\

  • SD DI  --   MOSI   P0.18
  • SD DO --  MISO   P0.17
  • SD SCK -- SCK    P0.15
  • SD CS --  SSEL   P0.16

Connections for Teensy