thilaire / rpi-TM1638

Raspberry Pi driver for chained TM1638 boards
GNU General Public License v3.0
20 stars 14 forks source link

The clearDisplay() method . It seems to bring the object in a not desirable state. #7

Open kajnorman opened 4 years ago

kajnorman commented 4 years ago

Thanx a lot for the nice library. It saves a lot of ime for me and my students. However there seems to be something "funny" about the clearDisplay() method . It seems to bring the object in a to me unknown state. Not unrecoverable, but maybe not desirable.

TM.clearDisplay() TM.segments[0] = '123' TM.turnOn(1) TM.segments[0] = '123'

""" ... Here I am stuck! ... ... The only way to recover is to initialize the objec again ... """

TM = TMBoards(DIO, CLK, STB, 0) TM.segments[0] = '123'

kajnorman commented 4 years ago

I stumbled over this issue when preparing documentation for my students.. I would like to help if possible with documents/tutorials for users of the api. See what I produduced this evening.

Starting up with tm1638 on pi with Python.docx