The first line will include the module for the serial port API. This API is provided by pySerial.
 
The first line will include the module for the serial port API. This API is provided by pySerial.
   −
  <code><nowiki>
+
  <code><nowiki>ser = serial.Serial(
ser = serial.Serial(
+
 
     port='/dev/ttyUSB0',\
 
     port='/dev/ttyUSB0',\
 
     baudrate=115200,\
 
     baudrate=115200,\
    
  <code><nowiki>while True:
 
  <code><nowiki>while True:
Exception encountered, of type "Error"