Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Table of Contents

...

Introduction

Represented by a floating point number. Read more about Numbers in Javascript

...

  • 1.55

  • -12.00

  • 199995.87

...

Converts to

Message Type

Data

Digtial

Only Numbers that are exactly 0 convert to false. Everything else is true.

Trigger

Always triggers

Tristate

Only -1,0 and 1 convert

Analog

Converts directly if in range

Percent

Converts directly if in range

Temperature

Converts directly

Distance

Converts directly

Humidity

Converts directly

Stepper

Converts directly

Servo

Converts directly

Color

Numbers from 0 to 255 convert. 0 would be converted to #000000 (black) and 255 would be #FFFFFF (white)

Smartcolor

Numbers from 0 to 255 convert. 0 would be converted to #000000 (black) and 255 would be #FFFFFF (white)

7 Segment

Numbers 0 to 15 convert correctly to hexadecimal 7 segment numbers.

Display Message Type

Clears display and shows Number

PWM (Pulse Wave Modulation)

Converts directly if in range

String

Converts directly if in range

Scaled Number

Converts directly when number is in custom range

Light

Numbers between 0 and 100 turn on the Light and control the brightness.

Any other Number (higher or lower) turns off the light.

Motor

Converts directly if in range

Pressure

Converts directly

CO2

Converts directly

Info

...

Any Signal that is not mentioned on the table above should not be able to convert.

...

Debug View

In the Debug View values can be written to or read from the drivers on the Builder Base directly.

Info

The number message is not used in any driver at this point.