找回密码
 立即注册

QQ登录

只需一步,快速开始

打印 上一主题 下一主题
开启左侧

[Sample Code] [N9H26 Non-OS] AVI play with SPK

[复制链接]
跳转到指定楼层
楼主
yli 发表于 2020-4-24 09:24:01 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
Q: Why play video (MJPEG + MP3) but has no sound?
A: N9H26 didn't support MP3 decoder.

Q: Why play video (MJPEG + IMA-ADPCM) but has no sound?
A: N9H26 utilizes ISD8101 for speaker out. Please pull high GPA0 to enable ISD8101. (As attached file, password is nuvoton)

include "N9H26_GPIO.lib" to your project and pull high GPA0:
  1. gpio_setportval(GPIO_PORTA, 0x1, 0);
  2. gpio_setportpull(GPIO_PORTA, 0x1, 0);
  3. gpio_setportdir(GPIO_PORTA, 0x1, 0x1);
  4. gpio_setportval(GPIO_PORTA, 0x1, 1);
复制代码
AVI.zip (12.96 KB, 下载次数: 749)
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 顶 踩
回复

使用道具 举报

高级模式
B Color Image Link Quote Code Smilies |上传

本版积分规则

新唐MCU