title: How to send data as a string from NodeJs runtime to Arduino board using Serial communication?
body: <p>I am working in a project that requires serial communication between Arduino  board and NodeJs runtime in Raspberry Pi. </p>
  
  <p>I want to send a string like "255,100,100,255" from NodeJs program inside my Pi to Arduino board to control the brightness of 4 lights. 4 elements inside the string are the brightness of each light. </p>
  
  <p>How to code in both NodeJs and Arduino program so that Arduino board receive all the string?</p>