The detail software used in project and step by step guide can be found in the following URL
https://wiki.seeedstudio.com/Seeeduino-XIAO/#software
Arduino IDE can be downloaded and installed from the URL
https://www.arduino.cc/en/software
Initially the board should include by installing in Arduino IDE from the board manger in IDE latest version should install for proper functioning as shown in the below figure.
If all the required libraries are included in Arduino IDE then line by line program for configuring the input and output port in MCU and enabling the components is shown in the below figure
Once the program is done then it is uploaded to the board connected to PC.