bug in Adafruit_8x8.py

EL Wire/Tape/Panels, LEDs, pixels and strips, LCDs and TFTs, etc products from Adafruit

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
typo
 
Posts: 9
Joined: Sun Apr 06, 2014 5:25 pm

bug in Adafruit_8x8.py

Post by typo »

There is some confusion between function names "setPixel" and "drawPixel" which seem to be the same. To fix it I added a function like this in class EightByEight

Code: Select all

  def setPixel(self, x, y, color = 1):   # create alias                                
      self.drawPixel(x, y, color)

Locked
Please be positive and constructive with your questions and comments.

Return to “Glowy things (LCD, LED, TFT, EL) purchased at Adafruit”