Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
michaellee1019 authored May 17, 2024
1 parent 577943b commit 1f7bdfc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ A Viam module that returns sensor values from a capacitive touch sensor device w
# Attributes
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.

```json
{
"i2c_address": "0x5A"
}
```

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

```
```

0 comments on commit 1f7bdfc

Please sign in to comment.