- Learning BeagleBone Python Programming
- Alexander Hiam
- 232字
- 2021-07-16 13:37:32
Initial setup
If you've never turned on your BeagleBone Black, there will be a bit of initial setup required. You should follow the most up-to-date official instructions found at http://beagleboard.org/getting-started, but to summarize, here are the steps:
- Install the network-over-USB drivers for your PC's operating system.
- Plug in the USB cable between your PC and BeagleBone Black.
- Open Chrome or Firefox and navigate to
http://192.168.7.2
(Internet Explorer is not fully supported and might not work properly).
If all goes well, you should see a message on the web page served up by the BeagleBone indicating that it has successfully connected to the USB network:

If you scroll down a little, you'll see a runnable Bonescript example, as in the following screenshot:

If you press the run button you should see the four LEDs next to the Ethernet connector on your BeagleBone light up for 2 seconds and then return to their normal function of indicating system and network activity. What's happening here is the Javascript running in your browser is using the Socket.IO (http://socket.io) library to issue remote procedure calls to the Node.js server that's serving up the web page. The server then calls the Bonescript API (http://beagleboard.org/Support/BoneScript), which controls the GPIO pins connected to the LEDs. This book won't be covering Bonescript, but this example is the quickest way to control some external hardware, so it's a great place to start.
- Learning Java Functional Programming
- Java高并發(fā)核心編程(卷2):多線程、鎖、JMM、JUC、高并發(fā)設(shè)計(jì)模式
- 單片機(jī)應(yīng)用技術(shù)
- Java設(shè)計(jì)模式及實(shí)踐
- C++ 從入門到項(xiàng)目實(shí)踐(超值版)
- R數(shù)據(jù)科學(xué)實(shí)戰(zhàn):工具詳解與案例分析
- Qlik Sense? Cookbook
- DevOps 精要:業(yè)務(wù)視角
- 算法超簡(jiǎn)單:趣味游戲帶你輕松入門與實(shí)踐
- 從零開始學(xué)UI設(shè)計(jì)·基礎(chǔ)篇
- Docker on Windows
- Java EE 程序設(shè)計(jì)
- Spring MVC Cookbook
- C語(yǔ)言開發(fā)寶典
- Learning Ext JS(Fourth Edition)