title: Serial port send message then wait and return response [Help]
body: <p>I'm new to NodeJS and am currently stuck on this problem. I have a Pi Pico hooked up over USB to a computer. I have programmed the Pico so that if it receives a command such as &quot;$GET-DATA&quot; it will send over serial a string. I would like to be able to, in my NodeJS application, to write &quot;$GET-DATA&quot; for example over serial then wait and receive the response written over serial.</p>
  <p>Any help would be tremendously appreciated as I have been stuck on this issue for a while now!</p>