Build th following program and fill in the Wifi name and password.
Input the host ip and the topic name of the local IoT client from KittenBlock.
Upload the program and wait for the WifiBrick to finish connection, press A to send the brightness value to local IoT client, the KittenBlock program will display the value.
Return to KittenBlock and modify the program to allow it to send an IoT message to Micro:bit.
Modify the program in MakeCode to allow WifiBrick to read IoT messages.
Subscribe to the same topic that the KittenBlock program is publishing to.
Micro:bit will now show the icon based on the message it receives.