Versions Compared

Key

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

...

Table of Contents

...

Introduction

The Percent Message Type is NUMBER based and has a range from 0-100.

...

Example Data

  • 10%

  • 20%

  • 100%

...

Converts to

Message Type

Data

Digtial

Anything above 0% is true

Trigger

Always Triggers

Analog

Directly converts (according to range: 0-100 → 0-4095)

Servo

Directly converts (according to range: 0-100 → 0-180)

Color

Percent is scaled to fit the 255 Hex Range of Color and fills all three color values to represent a shade of grey.

Smartcolor

Percent is scaled to fit the 255 Hex Range of Smart Color and fills all three color values to represent a shade of grey.

7 Segment

numbers between 0-15 are represented as 0-F

Display Message Type

Clears screen and shows Percent in String on Screen

PWM (Pulse Wave Modulation)

Directly converts (according to range: 0-100 → 0-255)

String

Directly converts to String

Scaled Number

Directly converts (according to range: 0-100 → custom low-custom top)

Number

Directly converts

Light

0% turns off the light, everything above 0% turns on the light and sets the brightness to the percent value.

Motor

Directly converts (according to range: 0-100 → -255-255)

...

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.

Read/Notify

A value between 0 and 100 is going to be returned.