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

Committer:
dxyang
Date:
Mon Feb 29 14:53:35 2016 +0000
Revision:
9:72e93d9ddc8c
Parent:
0:c0f34d23943d
added posh logging

Who changed what in which revision?

UserRevisionLine numberNew contents of line
epgmdm 0:c0f34d23943d 1 /**
epgmdm 0:c0f34d23943d 2 * useful utils.
epgmdm 0:c0f34d23943d 3 */
epgmdm 0:c0f34d23943d 4 #define ledON 0
epgmdm 0:c0f34d23943d 5 #define ledOFF 1
epgmdm 0:c0f34d23943d 6
epgmdm 0:c0f34d23943d 7 /**
epgmdm 0:c0f34d23943d 8 * turns SPI on for Nrf
epgmdm 0:c0f34d23943d 9 */
epgmdm 0:c0f34d23943d 10 void spiNrf();
epgmdm 0:c0f34d23943d 11
epgmdm 0:c0f34d23943d 12 /**
epgmdm 0:c0f34d23943d 13 * Turns SPI on for SD card
epgmdm 0:c0f34d23943d 14 */
epgmdm 0:c0f34d23943d 15 void spiSD();
epgmdm 0:c0f34d23943d 16
epgmdm 0:c0f34d23943d 17 /**
epgmdm 0:c0f34d23943d 18 * Flashes the red led and writes error message to stdout for ever.
epgmdm 0:c0f34d23943d 19 */
epgmdm 0:c0f34d23943d 20 void writeError( char *msg );