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

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.  

主站蜘蛛池模板: 左贡县| 永靖县| 灵丘县| 陆良县| 中西区| 康保县| 阿合奇县| 观塘区| 新竹市| 长治县| 元阳县| 祁连县| 稻城县| 南部县| 鸡西市| 嘉峪关市| 紫阳县| 龙泉市| 宜川县| 南雄市| 文安县| 江津市| 临汾市| 贵港市| 鄂伦春自治旗| 辽宁省| 同德县| 江陵县| 凤城市| 呼和浩特市| 曲阳县| 百色市| 开江县| 邹平县| 桑植县| 忻州市| 浪卡子县| 珲春市| 中阳县| 长兴县| 贵州省|