OpenHarmony轻量系统开发【5】驱动之GPIO点灯
精华
摘要:本文简单介绍如何操作GPIO去点灯适合群体:适用于Hi3861开发板,L0轻量系统驱动开发5.1点灯例程源码先看最简单得LED灯闪烁操作源码结构如下:第一个BUILD.gn文件内容:staticlibrary("leddemo"){sources["leddemo.c"]includedirs["utilsnativeliteinclude","kernelliteosmcomponentscmsis2.0","baseiothardwareperipheralinterfaceskits",]}第二个BUILD.gn内容:Copyright(c)2020HuaweiDeviceCo.,Ltd.LicensedundertheApa...