sdcard  1.5
Customations for HvA-Xmegaboard to SD-card library FatFs of Chan
demo_ff.c File Reference
#include <stdio.h>
#include "ff/ff.h"

Functions

int demo_ff (void)
 Demonstration. It writes text to a file on the SD-card. After that it reads the file from the SD-card and print the text. This example is code D.2 from 'De taal C en de Xmega' second edition, see Voorbeelden uit 'De taal C en de Xmega' More...
 

Variables

char buffer [256]
 
FATFS FatFs
 
FIL Fil
 

Function Documentation

◆ demo_ff()

int demo_ff ( void  )

Demonstration. It writes text to a file on the SD-card. After that it reads the file from the SD-card and print the text. This example is code D.2 from 'De taal C en de Xmega' second edition, see Voorbeelden uit 'De taal C en de Xmega'

Returns
void

Variable Documentation

◆ buffer

char buffer[256]

◆ FatFs

FATFS FatFs

◆ Fil

FIL Fil