官术网_书友最值得收藏!

Uploading the code to the Raspberry Pi

 Since we are using wiringPi numbering conventions, we will add the -lwiringPi command inside the Build command so that our C++ program with the wiringPi library is compiled and built successfully. To open the Build command, click on Build | Set Build Commands. Inside the command boxes next to the Compile and Build buttons, add -lwiringPi at the end and then click OK

Next, to compile the code, click on the compilation button (the brown icon). Finally, to upload the code to the Raspberry Pi, press the build button (the airplane icon):

The compilation icon will check for errors in the code. If there aren't any, click the build icon to test the blinking output. After building the code, the build icon will turn into a red circle. Click on the red circle to stop the program.  

主站蜘蛛池模板: 全南县| 宣化县| 抚宁县| 双城市| 家居| 新干县| 庄浪县| 丽水市| 青海省| 金塔县| 中阳县| 北川| 临朐县| 枞阳县| 和平县| 日土县| 台中市| 琼海市| 遂宁市| 宁化县| 阿城市| 博湖县| 大理市| 华池县| 若尔盖县| 邵阳市| 天峨县| 宜兴市| 买车| 汕头市| 溧水县| 桃源县| 南华县| 大足县| 韶关市| 林甸县| 张家川| 北海市| 峨边| 贵溪市| 长武县|