简介:
本文档总结自B站教程“博流智能BL618开发教程4——拓展板的相关使用方法”,本节内容主要是对BL618拓展板的样例介绍和演示。
视频链接:https://www.bilibili.com/video/BV1SP411S7Dq/?spm_id_from=333.999.0.0
拓展样例目录:
拓展样例存放于SDK中,文件路径:bouffalo_sdk_vmg0\examples\vmg0

cam_g0:
功能介绍:摄像头采集图像,并显示到LCD
代码简介:




效果展示:

ES8388:
功能介绍:音频编解码器,可以采集音频,再通过耳麦播放。
代码简介:

注意,ES8388使用的GPIO0到GPIO3与CK-Link使用的GPIO冲突,因此运行ES8388样例时,不能使用CK-Link。
如果要使用ES8388,CK-Link需要使用特定固件:https://gitee.com/verimaker/BL618EVB/blob/master/bl616_cklink_whole_img_64f497.bin


lcd_g0:
功能介绍:显示字符串或绘制图形。
代码简介:

具体绘制函数可以参考 bouffalo_sdk_vmg0/bsp/common/lcd/lcd.h

字库选择和声明可以参考 bouffalo_sdk_vmg0/bsp/common/lcd/font.h

字库的内容可以参考 bouffalo_sdk_vmg0/bsp/common/lcd/font.c
,可以按照font.h和font.c的方式创建自己的字库。

效果展示:

lvgl_g0:
功能介绍:实现了在LCD显示摄像头图像的同时,支持触屏操作。
效果展示:
图中的LCD上有一支笔会跟随手指移动。

touch_g0:
功能介绍:触摸屏幕,通过串口打印触点所在的坐标。
代码简介:

效果展示:
