Files
pico-examples/pio/onewire/ow_rom.h
mjcross 9a82398d82 Add pio onewire example (#334)
* Adds PIO onewire example

Co-authored-by: martin <admin@crossleys.biz>
2023-03-26 16:48:23 -05:00

8 lines
292 B
C

// Generic ROM commands for 1-Wire devices
// https://www.analog.com/en/technical-articles/guide-to-1wire-communication.html
//
#define OW_READ_ROM 0x33
#define OW_MATCH_ROM 0x55
#define OW_SKIP_ROM 0xCC
#define OW_ALARM_SEARCH 0xEC
#define OW_SEARCH_ROM 0xF0