WOLFRAM SYSTEM MODELER

DigitalOutput

Writes a digital signal to the specified pin

Wolfram Language

In[1]:=
SystemModel["ModelPlug.Pins.DigitalOutput"]
Out[1]:=

Information

Writes a digital signal to the specified pin. This component uses the 'digitalWrite' function of the Arduino.

Signal Range: This component accepts only Boolean signals (true/false).

Parameters (1)

Pin

Value: 0

Type: Integer

Description: Number of the digital pin

Connectors (2)

u

Type: BooleanInput

Description: 'input Boolean' as connector

pinConnector

Type: PinConnector

Used in Examples (7)

BlinkLed

ModelPlug.Examples

Basic example of blinking an LED

ReadSensor

ModelPlug.Examples

Reading analog signals

SimpleONOFF

ModelPlug.Examples

A simple On/Off controller

UsingArduinoLeonardo

ModelPlug.Examples

Basic example of blinking an LED using the Arduino Leonardo

UsingCustomBoard

ModelPlug.Examples

Using a Firmata-compatible board

UsingStandardFirmata

ModelPlug.Examples

Blinking a LED using a standard Firmata board

ThermometerI2C

ModelPlug.Examples

Reading a temperature sensor I2C device