이 번역 페이지는 최신 내용을 담고 있지 않습니다. 최신 내용을 영문으로 보려면 여기를 클릭하십시오.
사용자 지정 Arduino 라이브러리
R2026a애드온 라이브러리는 Arduino 하드웨어에서 실행되는 사용자 지정 C++ 코드와 호스트 컴퓨터에서 실행되는 MATLAB® 코드 간의 통신 인터페이스입니다.
애드온 라이브러리를 제공하면, arduino 연결 객체를 만들 때 애드온 라이브러리를 포함시켜서 최종 사용자가 MATLAB 명령줄에서 직접 Arduino의 추가 기능에 액세스할 수 있습니다. 애드온 라이브러리의 예제는 Control Motors Using Adafruit Motor Shield V2 항목을 참조하십시오.
MATLAB Support Package for Arduino Hardware는 클래스 프레임워크를 제공합니다. 이를 사용하여 Arduino 장치와 여기에 연결된 하드웨어 쉴드에서 사용할 수 있는 사용자 지정 애드온 라이브러리를 만들 수 있습니다. 이 지원 패키지는 애드온 라이브러리를 개발하는 데 도움이 되는 클래스와 함수를 제공하며, 이를 통칭하여 Arduino 애드온 SDK(소프트웨어 개발 키트)라고 합니다.
시작하기 전에 Custom Arduino Library Concepts 항목을 참조하십시오.
애드온 라이브러리를 자체적으로 만들려면 Create Custom Arduino Library의 단계를 따르거나 사용자 지정 Arduino 애드온 라이브러리 만들기를 시청하십시오.
클래스
matlabshared.addon.LibraryBase | Abstract class for deriving custom Arduino libraries |
함수
도움말 항목
시작하기
- Custom Arduino Library Concepts
Understand the components and communication workflow of a custom Arduino library. - Create Custom Arduino Library
Access unsupported hardware and peripherals connected to Arduino boards by creating custom Arduino libraries that enable communication between MATLAB and Arduino hardware.
- Adapt Add-ons to New matlabshared.addon.LibraryBase Class
Learn how to configure your existing add-on class to the new matlabshared.addon.LibraryBase class.
Arduino 하드웨어 리소스와 핀 다이어그램
- Custom Arduino Library Resources
Manage hardware resources among custom Arduino libraries. - Physical Terminals and Pin Numbers
Understand the difference between terminal numbers and pin numbers on your Arduino board.
추가 정보
- Send Data from Arduino to MATLAB Using Custom Library
Create your first custom Arduino library. - Enable Support for LCD Using Custom Arduino Library
Create a custom Arduino library for LCD support.