예제 #1
0
 def output(self, value):
   """ Outputs a string or a integer number onto 7-segment display.
       Value is shown after call to latch(). """
   raw = sevenseg.text(value, self.num_digits)
   self.start()
   for c in raw:
     self.send_raw(c)
 def output(self, value):
   """ Outputs a string consisting of digits or blanks onto 7-segment display.
       Can be used for single display or multiple displays if the string 
       contains the correct number of characters for each display."""
   raw = sevenseg.text(value, self.num_digits)
   for c in raw:
     self.send_raw(c)
 def output(self, value):
     """ Outputs a string consisting of digits or blanks onto 7-segment display.
     Can be used for single display or multiple displays if the string 
     contains the correct number of characters for each display."""
     raw = sevenseg.text(value, self.num_digits)
     for c in raw:
         self.send_raw(c)
예제 #4
0
 def output(self, value):
     """ Outputs a string or a integer number onto 7-segment display.
     Value is shown after call to latch(). """
     raw = sevenseg.text(value, self.num_digits)
     self.start()
     for c in raw:
         self.send_raw(c)