HT16K33 Class: Difference between revisions

Jump to navigation Jump to search
Line 255: Line 255:


=== clearAllBuffer() ===
=== clearAllBuffer() ===
Reset all ouput buffer to 0.<br />
Except for development or debugging and knowing what you are doing, there is no reason to invoke this method directly. It is a system method internal to the operation of the driver.
Except for development or debugging and knowing what you are doing, there is no reason to invoke this method directly. It is a system method internal to the operation of the driver.
<syntaxhighlight lang="python">
<syntaxhighlight lang="python">
Line 264: Line 265:
>>> MODULE_HT16K33 = FGINT1.getModule('HT16K33')
>>> MODULE_HT16K33 = FGINT1.getModule('HT16K33')
>>> LEDPACK2 = MODULE_HT16K33('LEDPACK2', '0x71', 0)
>>> LEDPACK2 = MODULE_HT16K33('LEDPACK2', '0x71', 0)
>>> LEDPACK2.clearAllBuffer()
>>>
>>>
</syntaxhighlight>
</syntaxhighlight>
534

edits

Navigation menu