大哥,你好。小弟遇见了和您相同的问题。我用的stc12c5a60s2单片机,不管我把数据全定义成data还是xdata
数据都会莫名其妙的改变数值。实际的字节数仅仅90字节,应该不会超过范围呀?我用的是stc的库。这几天一直再调,就是不行。麻烦您给指导下,小弟不胜感激。unsignedch...
数据都会莫名其妙的改变数值。实际的字节数仅仅90字节,应该不会超过范围呀?我用的是stc的库。这几天一直再调,就是不行。麻烦您给指导下,小弟不胜感激。
unsigned char xdata bh[2];
unsigned char xdata sjzt[2];
unsigned char data num;
unsigned char data head;
unsigned char xdata zj_re_sbuf[8];
unsigned char xdata zj_re_sbuf2[8];
bit zj_re_flag;
unsigned char data k4_re_sbuf[12];
unsigned char data k4_re_sbuf2[12];
unsigned char data k4_num;
unsigned char data k4_head;
bit k4_re_flag;
bit k4_ok_flag;
unsigned char data dx_send_sbuf[16];
unsigned char data id_new[5];
unsigned char data led_time;
unsigned char data sjzt_hc;
unsigned char data sjzt_hc1;
bit busy,busy2; 展开
unsigned char xdata bh[2];
unsigned char xdata sjzt[2];
unsigned char data num;
unsigned char data head;
unsigned char xdata zj_re_sbuf[8];
unsigned char xdata zj_re_sbuf2[8];
bit zj_re_flag;
unsigned char data k4_re_sbuf[12];
unsigned char data k4_re_sbuf2[12];
unsigned char data k4_num;
unsigned char data k4_head;
bit k4_re_flag;
bit k4_ok_flag;
unsigned char data dx_send_sbuf[16];
unsigned char data id_new[5];
unsigned char data led_time;
unsigned char data sjzt_hc;
unsigned char data sjzt_hc1;
bit busy,busy2; 展开
意法半导体(中国)投资有限公司
2023-06-12 广告
2023-06-12 广告
STM32F103是一款高性能的嵌入式芯片,由意法半导体(STMicroelectronics)公司生产。它是STM32系列芯片之一,具有紧凑、低功耗、高性能等特点,被广泛应用于嵌入式系统中。STM32F103的主要特点包括:1. 集成了A...
点击进入详情页
本回答由意法半导体(中国)投资有限公司提供
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询