First, I’ll need to configure Arduino so that I can use it to program the boards. I install a library for Attiny, copy and patse this “http://drazzy.com/package_drazzy.com_index.json” under Additional Boards Manger URLs.
Then I need to install megaTinyCore by Spence Konde in Board Manager.
Now I can start to connect the hello board to my laptop. Since my hello board doesn’t work due to my poor soldering, I am using Mr. Steven’s hello board. I connect the hello board to the FTDI and the UPDI as shown below.
I’m going to do a simple blink mode for the hello board. Here is the code:
Once done, I run “burn bootloader” first before upload the sketch to the hello board using programmer.
Here is the working program: