adns9800_firmware.py removed
Cleaned up firmware file Additional info in docs about missing firmware file and how to proceed without it.
This commit is contained in:
parent
731f1b1030
commit
1a5e7fa54b
@ -4,5 +4,15 @@ Add this module for controlling ADNS9800 optical sensor.
|
||||
from kmk.modules.adns9800 import ADNS9800
|
||||
keyboard.modules.append(ADNS9800(cs=board.GP0, sclk=board.GP2, miso=board.GP4, mosi=board.GP3, invert_y=True))
|
||||
```
|
||||
|
||||
Firmware for this sensor has to be obtained separately and placed in kmk\modules\adns9800_firmware.py
|
||||
```python
|
||||
firmware = (
|
||||
b'\x03'
|
||||
b'\xa6'
|
||||
...
|
||||
)
|
||||
```
|
||||
|
||||
## Constructor parameters
|
||||
ADNS9800(cs=*cs_pin*, sclk=*clock_pin*, miso=*miso_pin*, mosi=*mosi_pin*, invert_x=*False*, invert_y=*False*)
|
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user