You are reading a single comment by @fanoush and its replies. Click here to read the full conversation.
  • maybe there is better version but check output of process.env

      VERSION: "2v16.1",
      GIT_COMMIT: "1a18b5384",
      RAM: 0, FLASH: 8388608, SPIFLASH: 8388608, HWVERSION: 2, STORAGE: 8388608,
      SERIAL: "00000000-addeadde-addeadde",
      CONSOLE: "USB",
      MODULES: "Flash,Storage,hea" ... "tensorflow,locale",
      EXPTR: 155840 }
    > `

    so you may test process.env.BOARD or the SERIAL


Avatar for fanoush @fanoush started