Skip to content

tm_point

Anobium edited this page Dec 10, 2020 · 1 revision
TM_Point

Syntax:

    TM_Point = (Point)

Command Availability:

Available on all microcontrollers.

Explanation:

Must be defined before use the command TMDec to set the decimal point(s)

Rules for decimal points

You can use the TM_Point and TMWrite6dig commands to turn on one or more decimal points.   This is achieved with an 8-bit binary number, with the leftmost bit (MSB) representing the 1st decimal point, the next the 2nd, and so on.   The state of the last two bits is ignored because it is only 6 digits.  

Examples:

• binary number 0B01010000 (decimal 80) switch on decimal point on digits 2 and 4. • number 0 switch off all digital points • 255 (0B11111111) switch all on.

Clone this wiki locally