HT16K33 Class: Difference between revisions

Jump to navigation Jump to search
Line 285: Line 285:
</syntaxhighlight>
</syntaxhighlight>


=== setRow(port, row, data) ===
=== setRow(port, com, data) ===
Set the port / row buffer to data.
Set the port / row buffer to data.
Considering 2 output port with eight output each. named '''A''' and '''B'''. Port '''A''' will manage output '''1...8''' regarding of the Common selected. Port '''B''' will drive output '''9-16''' in the same way.<br />
Considering 2 output port with eight output each. named '''A''' and '''B'''. Port '''A''' will manage output '''1...8''' regarding of the Common selected. Port '''B''' will drive output '''9-16''' in the same way.<br />
* port : '''A''' or '''B'''. Allow to choose witch range of output will be affected.
* port : '''A''' or '''B'''. Allow to choose witch range of output will be affected.
* row : Common Number [1...8]
* com : Common Number [1...8]
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">
534

edits

Navigation menu