- Add MXChip AZ3166 board to Arduino IDE. Here is the link ypu must add to File=>Preferences=>Additional Boards Manager URL:
- Open Boards Manager and install MXCHIP AZ3166.
- Install ST-Link/V2 driver required to communicate with the DevKit.
- Connect AZ3166 to computer and check device manager. You should see ST Microelectronics USB driver for COM port.
- Create new Arduino project and paste attached code. Under Tools menu item, select MXChip board and serial port.