Skip to content

Commit c90f153

Browse files
committed
Merge branch 'seanhandley-add_doc'
2 parents daeb114 + ec0be2d commit c90f153

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,12 @@ You can also toggle the fan with:
4646
fanshim.toggle_fan()
4747
```
4848

49+
You can check the status of the fan with:
50+
51+
```python
52+
fanshim.get_fan() # returns 1 for 'on', 0 for 'off'
53+
```
54+
4955
## LED
5056

5157
Fan Shim includes one RGB APA-102 LED.

0 commit comments

Comments
 (0)