欧美极品高清xxxxhd,国产日产欧美最新,无码AV国产东京热AV无码,国产精品人与动性XXX,国产传媒亚洲综合一区二区,四库影院永久国产精品,毛片免费免费高清视频,福利所导航夜趣136

標(biāo)題: RC522-stm32程序 [打印本頁]

作者: zslkhp    時間: 2021-8-20 10:51
標(biāo)題: RC522-stm32程序
RC522-stm32程序,親測可用

單片機源程序如下:

  1. #include "stm32f10x.h"
  2. #include "OLED_I2C.h"
  3. #include "delay.h"
  4. #include "usart.h"
  5. #include "rc522.h"
  6. #include "rc522_config.h"
  7. #include <stdbool.h>

  8. /*
  9. CS--PA3 SCK-PA5 MOSI-PA7 MISO-PA6 RST-PA2

  10. */

  11. int main(void)
  12. {
  13.         DelayInit();
  14.         USART1_Config();
  15.     RC522_Init ();
  16.         printf ( "WF-RC522 Test\n" );
  17.         PcdReset ();
  18.    
  19.   /*設(shè)置工作方式*/   
  20.         M500PcdConfigISOType ( 'A' );
  21.   while(1)
  22.         {
  23.       IC_test();
  24.                 DelayMs(1000);
  25.         }               

  26. }
復(fù)制代碼

代碼工程51hei附件下載:
STM32F103-RC522.7z (195.15 KB, 下載次數(shù): 72)



作者: 野肆3    時間: 2022-4-26 17:29
這不是優(yōu)信電子的源碼嗎?




歡迎光臨 (http://www.raoushi.com/bbs/) Powered by Discuz! X3.1