how and why was that working, the modified circuit design. 8u2-burn.bat, to brun Arduino-usbserial-atmega8u2-Uno-Rev1-PID_0x0001-xiaolaba.hex to the chip, burn_arduino_com8.bat, to burn 328p.hex to ...
マイコンの仕様に関連して型名が示すサイズが異なるのがINT型です。 Arduino UNO R3までは8bitマイコンのATmega328でしたが、R4は32bitマイコンのArm Cortex-M4です。 R3以前のプログラムで "INT型が2BYTEであることを前提"としたプログラムはINT型が4BYTEであるR4では正しく ...