你好。
我想将uart1与STM8S103K一起使用,
我做(已经工作):
1.编写程序显示4段7段。
2.在STM8S.h中定义STM8S103
添加后
stm8s_uart1.c和stm8s_uart1.h以及构建项目,编译器(Cosmic)告诉错误
'stm8s_uart1.c bad struct / union operand'
它看起来像没有定义项目的东西。
请帮助。
以上来自于谷歌翻译
以下为原文
Hello.
I want to using uart1 with STM8S103K,
i do (already work):
1. write program to display 4 pieces of 7 segment.
2. define STM8S103 in STM8S.h
after add
stm8s_uart1.c and stm8s_uart1.h and build project, the compiler(Cosmic) tell error
'stm8s_uart1.c bad struct/union operand'
it's look like somethings not define to project.
Help please.