MCP4725 12-bit DAC I2C Block for Arduino Due

V1.0.0
다운로드 수: 177
업데이트 날짜: 2020/11/8

라이선스 보기

Step by Step:

*Noted that the AVR library (Arduino UNO, MEGA, NANO, etc) is not the same as the SAM library (Arduino Due).

1) Copy Wire.h and Wire.cpp to the working folder
[C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\arduinoide.instrset\portable\staging\packages\sam-1.6.12\sam\libraries\Wire\src]

2) Copy Twi.h and Twi.c to the working folder
[C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\arduinoide.instrset\portable\staging\packages\sam-1.6.12\sam\system\libsam\source]

3) Build the S-Function
4) Change "MPC4725_DUE_wrapper.c" to "MPC4725_DUE_wrapper.cpp"
5) add " extern "C" " before void in "MPC4725_DUE_wrapper.cpp" file
6) Deploy and Run the Code into the MCU

인용 양식

MOHD ISKANDAR PUTRA AZAHAR (2024). MCP4725 12-bit DAC I2C Block for Arduino Due (https://www.mathworks.com/matlabcentral/fileexchange/82480-mcp4725-12-bit-dac-i2c-block-for-arduino-due), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2020a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.0.3

Change from default 100khz to 400khz I2C transfer speed

1.0.2

-

1.0.1

-

1.0.0