This guide has been made so you can more easily adapt the Logic Analyzer RPi software for your needs and contribute to it.
The classes used are:
- logic_input: takes care of acquisition from Raspberry pi's GPIO pins and method to draw it
- activity: contains chip enable periods obtained from logic_input and method to draw it
- transition: contains the acquisition time of the clock transitions obtained from logic_input and methods to draw it.
- binary: contains the bit obtained from logic_input and methods to draw it.
- message: contains decoded information.
A message must be used for the conversion from activity and/or transition and at least one binary to a message. The following classes are implemented protocols:
If you want to decode anything else, you need to create your own protocol There is a few rules to follow (this may evolve).
- A protocol herit from protocol.
- A protocol must redefine:
- decode() function initializing all members from the capture object
- Draw() function calling all the necessary Draw() functions of his members
- See Also
- protocol microwire raw