sound.c 465 B

1234567891011121314151617181920212223
  1. /*
  2. * Copyright (c) 2006-2020, RT-Thread Development Team
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. * 2020-08-13 Administrator the first version
  9. */
  10. #include <rtthread.h>
  11. #include "hmi.h"
  12. #include <board.h>
  13. #include <rtdevice.h>
  14. #include "stdarg.h"
  15. #include "string.h"
  16. #include "sound.h"
  17. #include <dtu_uart2.h>
  18. void MA_save(void)
  19. {
  20. HMI_WRITE("play %d,%d,%d",1,4,0);
  21. DTU_Write("save");
  22. }