document.getElementById("module-led");
    const sled = document.getElementById("chathub-led");
    const testbtn = document.getElementById("testbtn");
    const result = document.getElementById("result");
    const chatbox = document.getElementById("chatbox");
    const port = document.getElementById("port");
    const connector = document.getElementById("connector");
    const inputbox = document.getElementById("inputbox");
    const sendbtn = document.getElementById("sendbtn");
    const clearbt