Nucleo F401REでFM音源を実装するやつ の実装途中で32ポリ音源にしたやつ 外部DACとオペアンプを利用 現在はMCP4922とNJM2737
Dependencies: AOTTrigon I2CEEPROM MCP4922 mbed
Diff: Main.h
- Revision:
- 7:439c57c20593
- Parent:
- 3:e98f2da2d3c5
- Child:
- 9:12a54d2ea8fc
--- a/Main.h Thu Dec 25 04:41:44 2014 +0000 +++ b/Main.h Mon Dec 29 02:34:12 2014 +0000 @@ -1,8 +1,16 @@ #pragma once +#include <string> #include "mbed.h" #include "USBDevice.h" #include "MCP4922.h" #include "AOTTrigon.h" +#include "I2CEEPROM.h" +#include "MIDIUtil.h" -#define M_PI 3.14159265358979323846264 \ No newline at end of file +#define M_PI 3.14159265358f + + +#define NUFM401_VENDOR 0x0801 +#define NUFM401_PRODUCT 0x0201 +#define NUFM401_RELEASE 0x0001 \ No newline at end of file