This program generates sound by using FM tone generator YMF825 via SPI.
Dependencies:
microbit
Diff: fmtype.h
- Revision:
- 0:c54d59d6fb78
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/fmtype.h Fri Jan 05 22:58:49 2018 +0000
@@ -0,0 +1,8 @@
+#ifndef FMTYPE_H
+#define FMTYPE_H
+
+#define FMNULL ((void*)0)
+
+#define FMASSERT(cd) if(!(cd)){while(1);}
+
+#endif