摘要: ERROR&WARNING 1.an initializer is not allowed on a local declaration of an extern variable 旧程序:extern float ret=0; 新程序:extern float ret; ret=0; 外部变量的局 阅读全文
posted @ 2019-08-01 13:26 橘子Jane 阅读(356) 评论(1) 推荐(0)
摘要: 昨天上午出现了没有返回值,没有ADC转换值的问题,在单步调试的过程中解决了这个问题。我记得好像是把之前屏蔽的DMA函数给放出来了,因为转换用的数是从数组里取出来的,而我需要用DMA将数据从ADC的寄存器里送到数组里。我也不知道之前屏蔽了DMA的程序是怎么好使的。 昨天下午说要换台式机,换了台式机之后 阅读全文
posted @ 2019-08-01 13:19 橘子Jane 阅读(124) 评论(0) 推荐(0)