Skip to content

1. About

Yiwei edited this page Apr 16, 2023 · 32 revisions

image

https://pinout.xyz/pinout/pin12_gpio18

树莓派介绍

Introduction to Raspberry Pi

Raspberry Pi is a series of single-board computers (SBCs) designed and developed by the Raspberry Pi Foundation, a UK-based charity organization. The goal of the foundation is to promote the teaching of basic computer science skills in schools and developing countries.

Raspberry Pi boards are low-cost and credit card-sized computers that offer a wide range of features and capabilities. The first Raspberry Pi was launched in 2012, and since then, the foundation has released several models with different specifications and performance levels.

Technical Specifications

The latest Raspberry Pi model, the Raspberry Pi 4, offers the following technical specifications:

Processor: Broadcom BCM2711, quad-core Cortex-A72 (ARM v8) 64-bit SoC @ 1.5GHz Memory: 2GB, 4GB, or 8GB LPDDR4-3200 SDRAM (depending on model) Connectivity: Gigabit Ethernet, 2.4 GHz and 5.0 GHz IEEE 802.11ac wireless, Bluetooth 5.0, BLE Video: 2 × micro-HDMI ports (up to 4Kp60 supported) Multimedia: H.265 (4Kp60 decode); H.264 (1080p60 decode, 1080p30 encode); OpenGL ES, 3.0 graphics Ports: 2 × USB 3.0 ports, 2 × USB 2.0 ports GPIO: Standard 40-pin GPIO header (fully backward-compatible with previous boards) Storage: MicroSD card slot for loading operating system and data storage Operating system: Boots from MicroSD card, with support for several Linux distributions, including Raspbian, Ubuntu, and others.

Applications

Raspberry Pi boards can be used for a variety of applications, such as:

Desktop computer: Raspberry Pi boards can be used as desktop computers for basic tasks such as web browsing, word processing, and video playback. Media center: Raspberry Pi can be used as a media center for streaming videos, music, and photos to a TV. Home automation: Raspberry Pi boards can be used for home automation tasks such as controlling lights, thermostats, and security systems. Education: Raspberry Pi boards can be used for teaching programming, electronics, and robotics in schools and universities. Industrial automation: Raspberry Pi boards can be used for industrial automation tasks such as monitoring sensors and controlling equipment.

Conclusion

Raspberry Pi boards offer a low-cost, versatile, and powerful computing platform for a wide range of applications. With the support of a large community of developers and enthusiasts, Raspberry Pi is constantly evolving, and new models and features are being added to meet the needs of different users.

ledstrip

qt install

rpi_ws281x

https://github.com/jgarff/rpi_ws281x

doxygen

#install doxygen
sudo apt-get install doxygen
sudo apt-get install graphviz
#使用Doxygen命令生成配置模板文件
doxygen -g doc.dot
#配置Doxygen模板文件
# 项目名称,显示在html首页
PROJECT_NAME           = "Device SDK APIs"
# 项目版本号,显示在html首页
PROJECT_NUMBER         = "ver: 2.3.0"
# 项目logo图片,显示在html首页
PROJECT_LOGO           = logo.png
# 输出目录,用来存放导出的html和配置文件
OUTPUT_DIRECTORY       = reference
# 代码使用的语言,这里使用c语言
OPTIMIZE_OUTPUT_FOR_C  = YES
# 导入的代码路径,多个路径使用空格隔开
INPUT                  = ./include
# 文件类型,如 *.c  *.cpp *.h
FILE_PATTERNS          = *.h
# 是否依次查找子路径
RECURSIVE              = YES
# 是否生成Latex,这样不使用latex,只需要html
GENERATE_LATEX         = NO
修改好doc.dot配置文件后,使用命令生成html文档:
doxygen doc.dot

git

Clone this wiki locally