diff options
author | Damien <damien.p.george@gmail.com> | 2013-11-04 23:05:48 +0000 |
---|---|---|
committer | Damien <damien.p.george@gmail.com> | 2013-11-04 23:05:48 +0000 |
commit | 1c62d04e2eda24cb07565eb4380ece44e17ee839 (patch) | |
tree | 993f9e97abc12e4987bd601e0139c358d036c5a6 /stm/main.c | |
parent | 6addc89e55b56ca7f9472a80cfac1d2b4a63f4c6 (diff) | |
download | micropython-1c62d04e2eda24cb07565eb4380ece44e17ee839.tar.gz micropython-1c62d04e2eda24cb07565eb4380ece44e17ee839.zip |
Add DAC, and simple audio driver to STM code.
Diffstat (limited to 'stm/main.c')
-rw-r--r-- | stm/main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/stm/main.c b/stm/main.c index f8f1105c1c..996684cb89 100644 --- a/stm/main.c +++ b/stm/main.c @@ -20,6 +20,7 @@ #include "usart.h" #include "usb.h" #include "ff.h" +#include "audio.h" static FATFS fatfs0; @@ -745,6 +746,9 @@ soft_reset: // servo servo_init(); + // audio + audio_init(); + // add some functions to the python namespace { py_obj_t m = py_module_new(); |