在CC1310_LAUNCHXL.h做修改#define CC1310_LAUNCHXL_SPI1_MISO IOID_14
板子上连接有spi闪存卡,但是没有用 ,只是用下面程序试试 IOID_14输出的高低电平?
/* Configure the LED pin */
GPIO_setConfig(CC1310_LAUNCHXL_SPI1_MISO, GPIO_CFG_OUT_STD | GPIO_CFG_OUT_LOW); //引脚主动输出高低或设置引脚输出为0
/* Turn on user LED */
GPIO_write(CC1310_LAUNCHXL_SPI1_MISO, Board_GPIO_LED_ON);
uint8_t flag = GPIO_read(CC1310_LAUNCHXL_SPI1_MISO);
运行完成程序flag为0;
帮忙解答一下,是什么问题导致的?