The sample diagrams that use Arduino libraries are located under Examples > Embedded > Arduino > External Library Import. The diagrams have been pre-configured using Extern Definition and Extern Function, allowing you to easily download the modules and compile. The sample diagrams are listed in the table below.
Sample diagram using a library |
Description |
AdafruitOLED-Uno |
Prints Hello, world! on an SSD1306 display |
DHT11_sensor_library-Leonardo |
Reads temperature and humidity data from a DHT11 sensor at 0.5Hz rate and prints them to serial output |
EsploraAccelerometer-Mega |
Reads accelerometer data from Esplora using Extern blocks and prints the data to serial output |
LCDminiClick-Mega |
Communicates with the Arduino board over the SPI interface |
LiquidCrystal-Uno |
Controls the liquid crystal displays |
MPU6050-Uno |
Reads temperature, acceleration, and gyro data and angles from the MPU 6050 sensor and prints the data to serial output |
Servo-Mega |
Controls a motor by writing a position value to the servo |
Ultrasonic-Mega |
Reads the distance of an object from the sensor and prints to serial output; the Blink diagram blinks a green or red LED if an object is greater than 10cm away |