Skip to content

Commit 1f7bdfc

Browse files
Update README.md
1 parent 577943b commit 1f7bdfc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,11 @@ A Viam module that returns sensor values from a capacitive touch sensor device w
44
# Attributes
55
No configuration attributes are required if your device operates on the i2c address of `0x5A`. Otherwise you can configure a different address using the config example below. The module is built assuming the default I2C bus.
66

7+
```json
78
{
89
"i2c_address": "0x5A"
910
}
11+
```
1012

1113
# GetReadings
1214
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.
@@ -30,4 +32,4 @@ The Sensor.GetReadings response will look like the following. A touchpads array
3032
]
3133
}
3234

33-
```
35+
```

0 commit comments

Comments
 (0)