Skip to content

Commit

Permalink
UML updates
Browse files Browse the repository at this point in the history
  • Loading branch information
noelanderson committed Jan 24, 2025
1 parent 3268017 commit d731ebf
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
9 changes: 6 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,13 @@ Usage Example
Documentation
=============
API documentation for this library can be found on `Read the Docs <https://circuitpython-as5600.readthedocs.io/>`_.

For information on building library documentation, please check out
`this guide <https://learn.adafruit.com/creating-and-sharing-a-circuitpython-library/sharing-our-docs-on-readthedocs#sphinx-5-1>`_.
Class Diagram for library

.. figure:: https://raw.githubusercontent.com/noelanderson/CircuitPython_AS5600/master/uml/as5600.svg
:alt: Class Diagram

API documentation for this library can be found on `Read the Docs <https://circuitpython-as5600.readthedocs.io/>`_.

Contributing
============
Expand Down
6 changes: 6 additions & 0 deletions uml/as5600.puml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
' SPDX-License-Identifier: MIT

@startuml AS5600

class AS5600 {
+ AS5600 (i2c : I2C, address : int)
..
Expand Down Expand Up @@ -75,6 +76,11 @@ enum FastFilterThreshold {
FAST_FILTER_THRESHOLD_10LSB : int = 7
}

'force layout
PWMFrequency-[hidden]--> SlowFilter
PWMFrequency-[hidden]--> FastFilterThreshold
PowerMode-[hidden]--> Hysteresis

AS5600 -- PowerMode
AS5600 -- Hysteresis
AS5600 -- OutputStage
Expand Down
Loading

0 comments on commit d731ebf

Please sign in to comment.