Merge pull request #279 from adafruit/as5600
Add AS5600 magnetic angle sensor
This commit is contained in:
commit
ed1e86d919
2 changed files with 17 additions and 1 deletions
16
components/i2c/as5600/definition.json
Normal file
16
components/i2c/as5600/definition.json
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"displayName": "AS5600 Magnetic Angle",
|
||||
"vendor": "ams",
|
||||
"productURL": "https://www.adafruit.com/product/6357",
|
||||
"documentationURL": "https://learn.adafruit.com/adafruit-as5600-magnetic-angle-sensor",
|
||||
"description": "Magnetic angle (0-359) I2C sensor with 0.1° precision and 0.4° accuracy",
|
||||
"published": true,
|
||||
"i2cAddresses": [ "0x36" ],
|
||||
"subcomponents": [
|
||||
{
|
||||
"displayName": "Angle",
|
||||
"defaultPeriod": 5,
|
||||
"sensorType": "raw"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -29,7 +29,7 @@
|
|||
"defaultPeriod": {
|
||||
"description": "What period to the form should default to for this sensor.",
|
||||
"type": "number",
|
||||
"minimum": 30,
|
||||
"minimum": 1,
|
||||
"maximum": 86400
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue