Built-in search
Google search
Zephyr Project
v: latest
Document Release Versions
latest
4.0.0
3.7.0 (LTS)
3.6.0
2.7.6 (LTS)
Downloads
PDF
zephyrproject.org Links
Project Home
SDK
Releases
Introduction
Developing with Zephyr
Kernel
OS Services
Build and Configuration Systems
Connectivity
Hardware Support
Contributing to Zephyr
Project and Governance
Security
Safety
Samples and Demos
Application Development
Architecture-dependent Samples
Basic
Bluetooth
Boards
C++
Drivers
1-Wire
1-Wire scanner
ADC
Audio
Controller Area Network (CAN)
Counter
Ethernet
FPGA
Haptics
I2S
Inter-Integrated Circuit (I2C) Bus
Inter-Processor Mailbox (IPM)
Light-Emitting Diode (LED)
LoRa
Miscellaneous
Multi-bit SPI Bus (MSPI)
Universal Asynchronous Receiver-Transmitter (UART)
Video
Virtualization
AT45 DataFlash driver
Auxiliary display
Charger
Crypto
Digital-to-Analog Converter (DAC)
Display
EEPROM
Enhanced Serial Peripheral Interface (eSPI)
Flash shell
GNSS
HD44780 LCD controller
HT16K33 LED driver with keyscan
JEDEC SPI-NOR flash
JESD216 flash
KSCAN
LiteX clock control driver
MBOX
MBOX Data
Memory controller (MEMC) driver
nRF SoC Internal Storage
PECI interface
PS/2 interface
SMBus shell
SPI bitbang
Watchdog
External modules
Fuel Gauge
Kernel and Scheduler
Networking
POSIX API
PSA
Sensors
Shields
Subsystems
Sysbuild
TF-M Integration
Userspace
Basic Synchronization
Dining Philosophers
Hello World
Supported Boards and Shields
Shields
Releases
Reference
API
Kconfig Options
Devicetree Bindings
West Projects
Zephyr Project
Docs / 4.0.0
»
Samples and Demos
»
Drivers
»
1-Wire
Open on GitHub
Report an issue with this page
The
latest development version
of this page may be more current than this released 4.0.0 version.
1-Wire
These samples demonstrate how to use the
1-Wire
driver API.
1-Wire scanner
Scan for 1-Wire devices and print their family ID and serial number.