Hardware and its SW

A device – front view

A device – back view

Description

See sources of PIC's code for more details on how bus communication is handled and a state chart of PIC's program.

Source files

main.c Main routines which implement master, slave and sniffer behavior.
ops.c Low level bus operations (like waiting on a start condition, sending a byte, etc.)
debug.c Routines for debugging a device.
16F628.h PIC's specific constants.
constants.h Constants used during a communication with a driver and on a bus as well.
hw.h PIC's hardware settings.