- 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.
- INSTANT Mock Testing with PowerMock
- R語言數據分析從入門到精通
- C語言程序設計案例教程(第2版)
- Hands-On Machine Learning with scikit:learn and Scientific Python Toolkits
- Python量化投資指南:基礎、數據與實戰
- C++程序設計基礎教程
- SQL Server 2012數據庫管理與開發項目教程
- Haxe Game Development Essentials
- 硅谷Python工程師面試指南:數據結構、算法與系統設計
- Mastering Akka
- Rust游戲開發實戰
- Spring技術內幕:深入解析Spring架構與設計原理(第2版)
- HTML5+CSS3+jQuery Mobile APP與移動網站設計從入門到精通
- SFML Game Development
- Learning Shiny