WOLFRAM SYSTEM MODELER

UsingArduinoLeonardo

Basic example of blinking an LED using the Arduino Leonardo

Diagram

Wolfram Language

In[1]:=
SystemModel["ModelPlug.Examples.UsingArduinoLeonardo"]
Out[1]:=

Information

Hardware Components Used

  • 1 Arduino Leonardo board
  • 1 LED (optional)
  • 1 resistor 680 ohms (optional)

Description

This example shows how the BlinkLed can be used with an Arduino Leonardo.

Components (3)

arduino

Type: ArduinoLeonardo

Description: Component with configuration for Arduino Leonardo boards

digitalOutput

Type: DigitalOutput

Description: Writes a digital signal to the specified pin

booleanPulse

Type: BooleanPulse

Description: Generate pulse signal of type Boolean