-
Notifications
You must be signed in to change notification settings - Fork 249
/
README
46 lines (44 loc) · 3.29 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
SAMPLES
01-gpiosimple [5] Simple GPIO usage, blinking Act LED
02-screenpixel [5] Setting pixels on screen
03-screentext [5] Writing text to screen, debug_hexdump() and assert usage
04-timer [5] Interrupt driven timer, exception handler demonstration
05-usbsimple [5] Displaying USB device descriptor of root hub
06-ethernet [5] Receiving broadcasts from Ethernet
07-usbstorage [5] Displaying partition table from master boot record (MBR)
08-usbkeyboard [PnP,5] Echoing typed characters to screen, or keyboard raw mode
09-softserial [5] GPIO interrupt demonstration, serial interface via non-UART GPIO-pins
10-usbmouse [PnP] Little painting program with USB mouse support
11-gpioclock [5] Using GPIO clock 0 to generate a square wave signal and sampling this signal to display it
12-pwmsound [5] Using PWM device and DMA controller to playback a short sound sample
13-pwmoutput [5] Using PWM device to continously change the brightness of a connected LED
14-usbprinter [5] Printing some text lines on an USB printer (GDI printers do not work)
15-files [5] Root directory listing of a connected USB drive, writing and reading the file "circle.txt"
16-i2cping Transfering data blocks between two Raspberry Pis connected via I2C
17-fractal [5] Displaying a fractal image from a Mandelbrot set (may be build for single- or multi-core)
18-ntptime [PnP,5] Setting the system time from an Internet time (NTP) server, reducing boot time
19-tasks [5] Demonstrating the cooperative non-preemtive scheduler
20-tcpsimple [5] Simple TCP echo server
21-webserver [5] Simple HTTP webserver which controls the Act LED
23-spisimple [5] Transfers some data bytes to/from a SPI slave device. Dumps the received bytes.
24-hwrandom [5] Demonstrating the hardware random number generator.
25-spidma [5] Transfers some data bytes to/from a SPI slave device using DMA.
26-cpustress [5] Calculates fractal images to stress the CPU. Displays a SoC temperature chart.
27-usbgamepad [PnP,5] Displaying information about an attached USB gamepad and its current state.
28-touchscreen Displaying touch events from the official Raspberry Pi touch screen.
29-miniorgan [PnP,5] Mini organ instrument using PWM, HDMI, I2S or USB sound, (USB or serial) MIDI or USB keyboard.
30-gpiofiq Demonstrating FIQ-driven fast GPIO event capture and a tracing class.
31-webclient Fetching a RPi hardware revision list from a HTTP webserver and parsing it.
32-i2cshell [PnP,5] Command line tool for interactive communication with I2C devices.
33-syslog [5] Demonstrating how to send log messages to a syslog server using UDP.
34-sounddevices [5] Integrating multiple sound devices in one application
35-mqttclient [5] Demonstrating the MQTT client
36-softpwm Using the class CUserTimer to implement software PWM
37-showgamepad [PnP,5] Shows a stylised gamepad on screen and the state of an attached USB gamepad.
38-bootloader HTTP- and TFTP-based bootloader with Web front-end
39-umsdplugging [PnP,5] Plug in and remove USB flash drives, list directory
40-irqlatency [PnP] Displays the maximum measured IRQ latency
41-screenanimations 2D graphical shapes demo on screen without flickering or screen tearing
42-soundinput [5] I2S or USB to PWM sound data converter and digital sound recorder
Samples marked with [PnP] are enabled for USB plug-and-play.
Samples marked with [5] are working on the Raspberry Pi 5.