發表文章

目前顯示的是 4月, 2022的文章

80581 DI

  P2M0 = 0x00;//DI 提升電阻 P2M1 = 0xff;   while(1) { tmp=P2; if(tmp!=0xff) { len=sprintf(str,"p2=0x%02X\n",(int)tmp); PrtStr(str,len); delay_sec_key(1.0); } delay_sec_key(0.10); }

STM32F103

 https://atceiling.blogspot.com/2020/09/arduino81stm32arduino-ide.html STM32筆記(1):我的第一個STM32程式,使用Arduino IDE 介面  燒錄電路, 板庫, 程式, 燒錄法 R3 R9 都換成 2K 即可 , 1K 也可