docs: def get_args():
      '''Parse command line arguments.'''
  
      parser = argparse.ArgumentParser(
          description='Script tests the HCSR04 sensor under different configurations')
  
  
      parser.add_argument('-t',
                          '--trig',
                          type=int,
                          help='Trig Pin (Required - must be an integer, must \
                               use BCM pin values)',
                          required=True
                          )
  
      parser.add_argument('-e',
                          '--echo',
                          type=int,
                          help='Echo Pin (Required - must be an integer, must \
                               use BCM pin values)',
                          required=True
                          )
  
      parser.add_argument('-sp',
                          '--speed',
                          type=float,
                          help='Time between individual reading samples \
                               (Optional - must be a float, default\
                                is 0.1 seconds)',
                          required=False,
                          default=0.1
                          )
  
  
      parser.add_argument('-ss',
                          '--samples',
                          type=int,
                          help='Reading Sample Size (Optional - must be an \
                                  integer, default is 11)',
                          required=False,
                          default=11
                          )
   
  
      args = parser.parse_args()
      trig = args.trig
      echo = args.echo
      speed = args.speed
      samples = args.samples
      return trig, echo, speed, samples