How to control mit inventor app with Arduino 如何用Arduino控制mit inventor app

功能為兩顆電燈在Arduino控制端上,並用藍芽連接mit inventor,電燈1 ON mit 上標籤1背景顏色為綠色,電燈1 OFF mit 上標籤1背景顏色為紅色,電燈2 ON mit 上標籤2背景顏色為綠色,電燈2 OFF mit 上標籤2背景顏色為紅色,並且兩顆燈泡可以一起動作,mit inventor 標籤1.2 可顯示(看燈泡ON.OFF分別控制標籤背景顏色),可提供程式嗎,謝謝

The function is to connect two electric lamps to the Arduino control terminal and use Bluetooth to connect the mit inventor. The background color of label 1 on lamp 1 ON mit is green, the background color of label 1 on lamp 1 OFF mit is red, and the background color of label 2 on lamp 2 ON mit The color is green, the background color of label 2 on lamp 2 OFF is red, and the two light bulbs can operate together, and the label 1.2 on mit inventor can be displayed (see the light bulb ON and OFF to control the background color of the label respectively). Can you provide a program? Thank you! !