标题: stm32 rfid识别并将数据传至onenet程序 [打印本页]

作者: yuhlee    时间: 2019-6-14 14:28
标题: stm32 rfid识别并将数据传至onenet程序
stm32 rfid识别并将数据传至onenet

单片机源程序如下:
  1. /* Includes ------------------------------------------------------------------*/
  2. //USE_STDPERIPH_DRIVER, STM32F10X_HD, USE_STM3210B_EVAL

  3. /***头文件调用****/
  4. #include "stm32f10x.h"
  5. #include "stdio.h"
  6. #include "stdlib.h"
  7. #include "string.h"
  8. #include "usart1.h"
  9. #include "usart2.h"
  10. #include "utils.h"
  11. #include "esp8266.h"
  12. #include "hal_i2c.h"

  13. int main(void)
  14. {
  15.     USART1_Init();
  16.     USART2_Init();
  17.     mDelay(1000);
  18.     Hal_I2C_Init();
  19.     /*初始化8266,并连接CWJAP配置的AP,与MQTT_CIPSTART配置的服务器建立TCP连接*/
  20.     ESP8266_Init((int8_t *)MQTT_CIPSTART, (int8_t *)CWJAP);
  21. }

  22. /******************* (C) COPYRIGHT 2010 STMicroelectronics *****END OF FILE****/
复制代码

所有资料51hei提供下载:
rfid识别.7z (1.11 MB, 下载次数: 21)








欢迎光临 (http://www.51hei.com/bbs/) Powered by Discuz! X3.1