本文主要是介绍鸿蒙开发板hi3861不能输出高低电平,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
鸿蒙开发板hi3861不能输出高低电平
# CONFIG_I2C_SUPPORT is not set
CONFIG_I2C_SUPPORT=y
# CONFIG_I2S_SUPPORT is not set
# CONFIG_SPI_SUPPORT is not set
CONFIG_SPI_SUPPORT=y# CONFIG_DMA_SUPPORT is not set
# CONFIG_SDIO_SUPPORT is not set
# CONFIG_SPI_DMA_SUPPORT is not set
# CONFIG_UART_DMA_SUPPORT is not set
# CONFIG_PWM_SUPPORT is not set
# CONFIG_PWM_HOLD_AFTER_REBOOT is not set
CONFIG_AT_SUPPORT=y
CONFIG_FILE_SYSTEM_SUPPORT=y
CONFIG_UART0_SUPPORT=y
CONFIG_UART1_SUPPORT=y
usr_config.mk里面如果把config_spi_support=y,则所有标有spi的引脚不能设置高低电平,用#号屏蔽后,可以再测试
这篇关于鸿蒙开发板hi3861不能输出高低电平的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!