Arduino Programming using MATLAB by Kurniawan Agus
Author:Kurniawan, Agus
Language: eng
Format: epub
Publisher: PE Press
Published: 2015-09-10T16:00:00+00:00
Save this program as led_rgb.m.
This program will generate six colors: red, green, blue, yellow, purple, and aqua.
4.2.3 Testing
Upload and run the program. You should see several color on RGB LED.
>> led_rgb
The following is a sample demo on Command Window on MATLAB.
The following is a sample demo on hardware.
4.3 Demo Analog Output Voltage: LED Brightness
In this demo, we try to control LED brightness by controlling voltage on LED. MATLAB for Arduino support provides writePWMVoltage() function to set voltage on PWM pins. We can set a voltage value from 0 to 5 for Arduino Uno/Mega and 0 - 3.3 for Arduino Due.
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
The Mikado Method by Ola Ellnestam Daniel Brolund(21019)
Hello! Python by Anthony Briggs(20299)
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(18661)
Dependency Injection in .NET by Mark Seemann(18450)
The Well-Grounded Java Developer by Benjamin J. Evans Martijn Verburg(17974)
OCA Java SE 8 Programmer I Certification Guide by Mala Gupta(17718)
Kotlin in Action by Dmitry Jemerov(17632)
Adobe Camera Raw For Digital Photographers Only by Rob Sheppard(16942)
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(16541)
Grails in Action by Glen Smith Peter Ledbrook(15679)
Sass and Compass in Action by Wynn Netherland Nathan Weizenbaum Chris Eppstein Brandon Mathis(13489)
Secrets of the JavaScript Ninja by John Resig & Bear Bibeault(11561)
A Developer's Guide to Building Resilient Cloud Applications with Azure by Hamida Rebai Trabelsi(10582)
Test-Driven iOS Development with Swift 4 by Dominik Hauser(10497)
Jquery UI in Action : Master the concepts Of Jquery UI: A Step By Step Approach by ANMOL GOYAL(9543)
Hit Refresh by Satya Nadella(9091)
The Kubernetes Operator Framework Book by Michael Dame(8529)
Exploring Deepfakes by Bryan Lyon and Matt Tora(8352)
Robo-Advisor with Python by Aki Ranin(8297)