Is the document on Device Driver Blocks correct?

조회 수: 1 (최근 30일)
Shogo Muramatsu
Shogo Muramatsu 2018년 3월 2일
답변: Akihiro Yasuda 2018년 4월 25일
In the second step of the document on " Write the Hardware Specific C/C++ Code " may lose the line
static int initialized = false;
before the following comment.
// Perform one-time wiringPi initialization
As well,in the third step of the document on " Specify the Initialization, Output, and Termination Behavior " may lose the line
buildInfo.addLinkFlags({'-lwiringPi'});
after the line
addSourceFiles(buildInfo,'digitalio_raspi.c', srcDir);
in the updateBuildInfo function.

채택된 답변

Akihiro Yasuda
Akihiro Yasuda 2018년 4월 25일
I agree with your opinion. And, you can report those document bug to MathWorks Technical Support.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Raspberry Pi Hardware에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!