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

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.  

主站蜘蛛池模板: 刚察县| 汾阳市| 乃东县| 云浮市| 辽阳县| 定陶县| 吴堡县| 中西区| 饶阳县| 随州市| 青岛市| 乌拉特后旗| 寻乌县| 博白县| 正阳县| 牡丹江市| 射阳县| 晋州市| 闻喜县| 福泉市| 金门县| 山西省| 肥城市| 常山县| 汕头市| 哈尔滨市| 郓城县| 共和县| 柘荣县| 苏尼特左旗| 白河县| 漳平市| 高陵县| 全椒县| 当雄县| 兴城市| 上蔡县| 镇宁| 长岛县| 武强县| 颍上县|