Is the document on Device Driver Blocks correct?

1 次查看(过去 30 天)
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!