Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 11 Current »


Introduction

The Analog Message Type is NUMBER based and has a range from 0-4095. This represents the max Analog reading resolution of our Builder Base (12 bit). It does not allow fractions.


Example Data

  • 1

  • 2

  • 6

  • 10


Converts to

Message Type

Data

Digtial

Anything above 0% is true

Trigger

Always Triggers

Percent

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

Temperature

Directly converts

Distance

Directly converts

Humidity

Directly converts

Stepper

directly converts to positive rotation

Color

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

Smartcolor

Analog 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 Analog in String on Screen

PWM (Pulse Wave Modulation)

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

String

Directly converts to String

Scaled Number

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

Number

Directly converts

Motor

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

Pressure

Directly converts

CO2

Directly converts

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-4095 is going to be returned

  • No labels