original_docstring: We should calculate the space left in the line and reposition the cursor like 16-length("Tempo:")
          or (PREFERRED) add white spaces before the string and put cursor pos at something like 8 because it will clear any text left on the screen if the previous one was longer
docstring: We should calculate the space left in the line and reposition the cursor like 16-length("Tempo:")
  or (PREFERRED) add white spaces before the string and put cursor pos at something like 8 because it will clear any text left on the screen if the previous one was longer
docstring_tokens: We should calculate the space left in the line and reposition the cursor like 16 - length ( " Tempo : " ) or ( PREFERRED ) add white spaces before the string and put cursor pos at something like 8 because it will clear any text left on the screen if the previous one was longer
code: def displayTempo(self, tempo):
          
          self.clearRightLCD()
          '''We should calculate the space left in the line and reposition the cursor like 16-length("Tempo:")
          or (PREFERRED) add white spaces before the string and put cursor pos at something like 8 because it will clear any text left on the screen if the previous one was longer'''
          stringTempo = str(tempo)+"BPM"
          cursorPosTempo = 16 - len(stringTempo) # because the LCD is 16 character long
          
          self.lcd.cursor_pos = (0, 10)
          self.lcd.write_string("Tempo:")
  
          self.lcd.cursor_pos = (1, cursorPosTempo)
          self.lcd.write_string(stringTempo)
  
          print("Tempo:",stringTempo)
code_tokens: def displayTempo ( self , tempo ) : self . clearRightLCD ( ) stringTempo = str ( tempo ) + "BPM" cursorPosTempo = 16 - len ( stringTempo ) self . lcd . cursor_pos = ( 0 , 10 ) self . lcd . write_string ( "Tempo:" ) self . lcd . cursor_pos = ( 1 , cursorPosTempo ) self . lcd . write_string ( stringTempo ) print ( "Tempo:" , stringTempo )
short_docstring: We should calculate the space left in the line and reposition the cursor like 16-length("Tempo:")
  or (PREFERRED) add white spaces before the string and put cursor pos at something like 8 because it will clear any text left on the screen if the previous one was longer
short_docstring_tokens: We should calculate the space left in the line and reposition the cursor like 16 - length ( " Tempo : " ) or ( PREFERRED ) add white spaces before the string and put cursor pos at something like 8 because it will clear any text left on the screen if the previous one was longer
comment: '''We should calculate the space left in the line and reposition the cursor like 16-length("Tempo:")
          or (PREFERRED) add white spaces before the string and put cursor pos at something like 8 because it will clear any text left on the screen if the previous one was longer'''$SEP$# because the LCD is 16 character long