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

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.  

主站蜘蛛池模板: 开封县| 正镶白旗| 曲水县| 海伦市| 安义县| 诸城市| 抚顺市| 澜沧| 华宁县| 思茅市| 平昌县| 庆安县| 博湖县| 湘潭市| 广丰县| 西青区| 六枝特区| 太康县| 宁武县| 越西县| 曲沃县| 兴义市| 木兰县| 会理县| 牟定县| 东山县| 淮南市| 罗江县| 青冈县| 红安县| 奎屯市| 额济纳旗| 永兴县| 博爱县| 梧州市| 府谷县| 平乡县| 漳浦县| 深水埗区| 博客| 崇信县|