2023-11-01ãã1ã¶æéã®è¨äºä¸è¦§
USBã·ãªã¢ã«å¤æICã使ã£ã¦ãã¤ã³ã³ã¨ã·ãªã¢ã«éä¿¡ãããæã®ã¡ã¢ã§ã. æºåãããã® éçºç¨PC STM32NUCLEO-F072RB USBã·ãªã¢ã«å¤æIC USBã·ãªã¢ã«å¤æICç¨ãã©ã¤ã ãã®ä» STM32CubeIDEã§ã®ä½æ¥ ããã¸ã§ã¯ãã®ä½æ ã³ã³ãã£ã®ã¥ã¬ã¼ã·ã§ã³ printfã®è¨è¿° ãâ¦
çµè«ããè¨ãã¨sizeof()ãããªãã¦strlen()ã使ãã¾ãããã¨ãã話ã§ã. x86(32bit)ç°å¢ã§ä»¥ä¸ã®ãããªããã°ã©ã ããã«ããã¦å®è¡ããã¨ããããªãã³ãã³ãã©ã¤ã³å¼æ°ã§ãã£ã¦ããsize:4ãã¨è¡¨ç¤ºããã¾ã. #include<stdio.h> int main(int argc, char** argv){ if(ar</stdio.h>â¦