Music key reference. From C to B, major and minor

Dependencies:   EFM32_SegmentLCD IOFuncLib mbed

Functions.h

Committer:
MaxScorda
Date:
2015-06-28
Revision:
0:45c4e9ef5b03

File content as of revision 0:45c4e9ef5b03:

#include <string>


//************************ FUNZIONI MODIFICATE
void in0_handler()
{
    kcount++;
    kcount=(kcount+24)%24;
    printKey(kcount);
}

void in1_handler()
{
    kcount--;
    kcount=(kcount+24)%24;
    printKey(kcount);
}