- Wearable:Tech Projects with the Raspberry Pi Zero
- Jon Witts
- 219字
- 2021-07-02 19:46:20
Conventions
In this book, you will find a number of text styles that distinguish between different kinds of information. Here are some examples of these styles and an explanation of their meaning. Code words in text, database table names, folder names, filenames, file extensions, path names, dummy URLs, user input, and Twitter handles are shown as follows: "We start a while True: loop, which will continue until we stop the program." A block of code is set as follows:
def adxlToRGB(axis):
axes = adxl345.getAxes(True)
absADXL = abs(axes[axis])
if (absADXL >= 1):
absADXL = 1
rgbADXL = int(255 * absADXL)
return rgbADXL
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
def adxlToRGB(axis):
axes = adxl345.getAxes(True)
absADXL = abs(axes[axis])
if (absADXL >= 1):
absADXL = 1
rgbADXL = int(255 * absADXL)
return rgbADXL
Any command-line input or output is written as follows:
sudo nano /lib/systemd/system/wearableHat.service
New terms and important words are shown in bold. Words that you see on the screen, for example, in menus or dialog boxes, appear in the text like this: "Click on the blue Select image button and browse to the Jessie Lite zip archive you just downloaded"
- 一步一步學(xué)Spring Boot 2:微服務(wù)項(xiàng)目實(shí)戰(zhàn)
- Interactive Data Visualization with Python
- 構(gòu)建移動(dòng)網(wǎng)站與APP:HTML 5移動(dòng)開發(fā)入門與實(shí)戰(zhàn)(跨平臺(tái)移動(dòng)開發(fā)叢書)
- Learning Informatica PowerCenter 10.x(Second Edition)
- Data Analysis with Stata
- C程序設(shè)計(jì)案例教程
- 自制編程語言
- Learning Zurb Foundation
- 搞定J2EE:Struts+Spring+Hibernate整合詳解與典型案例
- MySQL程序員面試筆試寶典
- Arduino計(jì)算機(jī)視覺編程
- Struts 2.x權(quán)威指南
- 嵌入式Linux C語言程序設(shè)計(jì)基礎(chǔ)教程
- Mudbox 2013 Cookbook
- UI動(dòng)效設(shè)計(jì)從入門到精通