Skip to content

Commit c9c338f

Browse files
cleanup files
1 parent ff7f49a commit c9c338f

File tree

4 files changed

+32
-12
lines changed

4 files changed

+32
-12
lines changed

.env

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
MODULE_DIR=$(dirname $0)
2+
VIRTUAL_ENV=$MODULE_DIR/.venv
3+
PYTHON=$VIRTUAL_ENV/bin/python

README.md

+28
Original file line numberDiff line numberDiff line change
@@ -1 +1,29 @@
11
# mpr121
2+
A Viam module that returns sensor values from a capacitive touch sensor device with the MPR121 chip.
3+
4+
# Attributes
5+
No configuration attributes are required. The module is built assuming the default I2C bus.
6+
7+
# GetReadings
8+
The Sensor.GetReadings response will look like the following. A touchpads array contains the status of each pad/input to the device. True means that it is being touched, false means untouched. In the below example, input 0 is touched and 1-11 is untouched.
9+
10+
```json
11+
12+
{
13+
"touchpads": [
14+
true,
15+
false,
16+
false,
17+
false,
18+
false,
19+
false,
20+
false,
21+
false,
22+
false,
23+
false,
24+
false,
25+
false
26+
]
27+
}
28+
29+
```

hotreload.sh

-11
This file was deleted.

meta.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@
1414
"path": "dist/archive.tar.gz",
1515
"arch" : ["linux/arm64", "linux/amd64"]
1616
},
17-
"entrypoint": "exec.sh"
17+
"entrypoint": "dist/models"
1818
}

0 commit comments

Comments
 (0)