HT16K33 Class: Difference between revisions

Jump to navigation Jump to search
Line 270: Line 270:


=== clearBuffer(register) ===
=== clearBuffer(register) ===
Clear the buffer given in argument.
* register[1..16]
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 279: Line 281:
>>> MODULE_HT16K33 = FGINT1.getModule('HT16K33')
>>> MODULE_HT16K33 = FGINT1.getModule('HT16K33')
>>> LEDPACK2 = MODULE_HT16K33('LEDPACK2', '0x71', 0)
>>> LEDPACK2 = MODULE_HT16K33('LEDPACK2', '0x71', 0)
>>>
>>> LEDPACK2.clearBuffer(1) # Clear the Buffer managing output '''1 -> 8''' on Com '''1'''
</syntaxhighlight>
</syntaxhighlight>


534

edits

Navigation menu