working version of song control with initialization from sd card

Dependencies:   MFRC522 NRF2401P SDFileSystem SPI_TFT_ILI9341 TFT_fonts mbed

Fork of Song_Control by Malcolm McCulloch

utils.h

Committer:
dxyang
Date:
2016-02-29
Revision:
9:72e93d9ddc8c
Parent:
0:c0f34d23943d

File content as of revision 9:72e93d9ddc8c:

/**
* useful utils.
*/
#define ledON 0
#define ledOFF 1

/**
* turns SPI on for Nrf
*/
void spiNrf();

/**
* Turns SPI on for SD card
*/
void spiSD();

/**
* Flashes the red led and writes error message to stdout for ever.
*/
void writeError( char *msg );