Input/Output

These blocks control the digital and analog pins of the senseBox MCU.


block

Power digital Pin

This block lets you turn digital pins on or off. The status is set by a Boolean variable, which is either High (ON) or Low (OFF).
block

Reading out a digital pin status

This block allows you to read the status of a digital pin and check it or current flows or not.
block

Turn on built-in LED

The senseBox MCU has a small built-in LED next to the reset button, which can be switched on or off with this block.
block

set Analog Pin

The pins of the senseBox MCU can also be used as analog outputs or inputs. In contrast to the digital pins, analog pins can display more than two different states. The analog pins are equipped with a 10 bit analog-to-digital converter and can therefore take values between 0 and 1023.
With this block you can assign a value to an analog pin. 0 means that no current flows. 1023 means that a current with a voltage of 5V flows.
block

read Analog Pin

The analog pins can also be read out. Specifically, the voltage between 0 and 5 is measured and converted to a value between 0 and 1023.
block

Pulse duration Measurement

This block can be used to measure times of pulses at pins. The time is returned in microseconds.
block

results matching ""

    No results matching ""