├── images ├── readme.md └── magic_wand.png ├── LGT8F328P.pdf ├── ATMEGA328P.pdf ├── README.md └── blink64ms.ino /images/readme.md: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /LGT8F328P.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rickygai/arduino/HEAD/LGT8F328P.pdf -------------------------------------------------------------------------------- /ATMEGA328P.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rickygai/arduino/HEAD/ATMEGA328P.pdf -------------------------------------------------------------------------------- /images/magic_wand.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rickygai/arduino/HEAD/images/magic_wand.png -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Arduino platform compatible Microcontrollers 2 | **A Programmer's Perspective** 3 |

4 | 5 | Welcome to the hands-on guide to the Arduino platform compatible Microcontrollers such as ATtiny85, ATMega328P, LGT8F328P, STM32, RP2040, ESP32 and nRF52840. 6 | 7 | This channel will brief you about: 8 | 9 | - Software development toolchain management 10 | - Vendor software 11 | - Hardware programmers 12 | - Hands-on projects 13 |

14 | 15 | # ATMEGA328P.PDF 16 | - How to burn bootloader ? 17 |

18 | 19 | # LGT8F328P.PDF 20 | - How to burn bootloader using LarduinoISP ? 21 | 22 | 23 | -------------------------------------------------------------------------------- /blink64ms.ino: -------------------------------------------------------------------------------- 1 | //////////////////////////////////////////////////////////////////////////////// 2 | // // 3 | // Filename: blink64ms.ino // 4 | // // 5 | // Function: To blink the built-in LED at 64 ms interval time. // 6 | // // 7 | // Platform: Arduino NANO, LGT8F328, STM32F103C8T6. // 8 | // // 9 | // Notation: Published on 11.1.2021, last updated 18.1.2021 // 10 | // written by Ricky Gai, Nexuz Innovation. // 11 | // // 12 | //////////////////////////////////////////////////////////////////////////////// 13 | 14 | // NOTE: You may set 1 or 0 at the directive #if below, 15 | // 16 | // 1...blink at 64 ms 17 | // 0...blink at 1000 ms 18 | #if 1 19 | const int BLINK_SPEED = 64; // 64 ms 20 | #else 21 | const int BLINK_SPEED = 1000; // 1000 ms = 1 second 22 | #endif 23 | 24 | // setup() will be executed one cycle only. 25 | void setup() 26 | { 27 | // initialize digital pin LED_BUILTIN as an output. 28 | pinMode( LED_BUILTIN, OUTPUT ); 29 | } 30 | 31 | // WARNING: Don't put endless loop ( eg. for loop ) within this 32 | // loop() otherwise the Serial communication will be blocked. 33 | void loop() 34 | { 35 | digitalWrite( LED_BUILTIN, HIGH ); 36 | delay( BLINK_SPEED ); 37 | 38 | digitalWrite( LED_BUILTIN, LOW ); 39 | delay( BLINK_SPEED ); 40 | } 41 | 42 | /// END OF FILE //////////////////////////////////////////////////////////////// 43 | --------------------------------------------------------------------------------