-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #69 from adafruit/add-pwm
Add PWM Components
- Loading branch information
Showing
48 changed files
with
173 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
{ | ||
"displayName": "DS18B20", | ||
"published": true, | ||
"subcomponents": ["ambient-temp", "ambient-temp-fahrenheit"], | ||
"sensorResolution": 12 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
{ | ||
"displayName": "High Temp + Waterproof DS18B20", | ||
"published": true, | ||
"subcomponents": ["ambient-temp", "ambient-temp-fahrenheit"], | ||
"sensorResolution": 12 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
{ | ||
"displayName": "Waterproof DS18B20", | ||
"published": true, | ||
"subcomponents": ["ambient-temp", "ambient-temp-fahrenheit"], | ||
"sensorResolution": 12 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
{ | ||
"displayName": "AHT20", | ||
"published": true, | ||
"i2cAddresses": [ "0x38" ], | ||
"subcomponents": [ "ambient-temp", "ambient-temp-fahrenheit", "humidity" ] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
{ | ||
"displayName":"BME280", | ||
"i2cAddresses": [ "0x76", "0x77" ], | ||
"subcomponents": [ "ambient-temp", "ambient-temp-fahrenheit", "humidity", "pressure", "altitude" ] | ||
"displayName": "BME280", | ||
"published": true, | ||
"i2cAddresses": [ "0x76", "0x77" ], | ||
"subcomponents": [ "ambient-temp", "ambient-temp-fahrenheit", "humidity", "pressure", "altitude" ] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
{ | ||
"displayName": "BME680", | ||
"published": true, | ||
"i2cAddresses": [ "0x76", "0x77" ], | ||
"subcomponents": [ "ambient-temp", "ambient-temp-fahrenheit", "humidity", "pressure", "altitude", "gas-resistance" ] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
{ | ||
"displayName": "DPS310", | ||
"published": true, | ||
"i2cAddresses": [ "0x76", "0x77" ], | ||
"subcomponents": [ "ambient-temp", "ambient-temp-fahrenheit", "pressure" ] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
{ | ||
"displayName": "MCP9601", | ||
"published": true, | ||
"i2cAddresses": [ "0x60", "0x61", "0x62", "0x63", "0x64", "0x65", "0x66", "0x67" ], | ||
"subcomponents": [ "object-temp", "object-temp-fahrenheit", "ambient-temp", "ambient-temp-fahrenheit" ] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
{ | ||
"displayName": "MCP9808", | ||
"published": true, | ||
"i2cAddresses": [ "0x18", "0x19", "0x1A", "0x1C" ], | ||
"subcomponents": [ "ambient-temp", "ambient-temp-fahrenheit" ] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
{ | ||
"displayName": "PMSA003I", | ||
"i2cAddresses": ["0x12"], | ||
"subcomponents": [ "pm10-std", "pm25-std", "pm100-std"] | ||
"displayName": "PMSA003I", | ||
"published": true, | ||
"i2cAddresses": ["0x12"], | ||
"subcomponents": [ "pm10-std", "pm25-std", "pm100-std"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
{ | ||
"displayName": "SCD30", | ||
"i2cAddresses": ["0x61"], | ||
"subcomponents": [ "ambient-temp", "ambient-temp-fahrenheit", "humidity", "co2" ] | ||
"displayName": "SCD30", | ||
"published": true, | ||
"i2cAddresses": ["0x61"], | ||
"subcomponents": [ "ambient-temp", "ambient-temp-fahrenheit", "humidity", "co2" ] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
{ | ||
"displayName": "SCD40/SCD41", | ||
"i2cAddresses": ["0x62"], | ||
"subcomponents": [ "ambient-temp", "ambient-temp-fahrenheit", "humidity", "co2" ] | ||
"displayName": "SCD40/SCD41", | ||
"published": true, | ||
"i2cAddresses": ["0x62"], | ||
"subcomponents": [ "ambient-temp", "ambient-temp-fahrenheit", "humidity", "co2" ] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
{ | ||
"displayName": "SHT3X", | ||
"published": true, | ||
"i2cAddresses": [ "0x44", "0x45" ], | ||
"subcomponents": [ "ambient-temp", "ambient-temp-fahrenheit", "humidity" ] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
{ | ||
"displayName": "SHT40", | ||
"published": true, | ||
"i2cAddresses": [ "0x44" ], | ||
"subcomponents": [ "ambient-temp", "ambient-temp-fahrenheit", "humidity" ] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
{ | ||
"displayName": "SHTC3", | ||
"published": true, | ||
"i2cAddresses": [ "0x70" ], | ||
"subcomponents": [ "ambient-temp", "ambient-temp-fahrenheit", "humidity" ] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
{ | ||
"displayName": "Si7021", | ||
"i2cAddresses": ["0x40"], | ||
"subcomponents": [ "ambient-temp", "ambient-temp-fahrenheit", "humidity" ] | ||
"displayName": "Si7021", | ||
"published": true, | ||
"i2cAddresses": ["0x40"], | ||
"subcomponents": [ "ambient-temp", "ambient-temp-fahrenheit", "humidity" ] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
{ | ||
"displayName": "TSL2591", | ||
"published": true, | ||
"i2cAddresses": [ "0x29", "0x39", "0x49" ], | ||
"subcomponents": [ "light" ] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
{ | ||
"displayName": "VEML7700", | ||
"published": true, | ||
"i2cAddresses": [ "0x10" ], | ||
"subcomponents": [ "light" ] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,4 +8,4 @@ | |
"defaultPeriod": 900 | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,15 @@ | ||
{ | ||
"displayName":"Hall Effect Sensor", | ||
"mode":"DIGITAL", | ||
"direction":"INPUT", | ||
"defaultPeriod":60, | ||
"selectPullUp": true, | ||
"visualization": { | ||
"type": "switch", | ||
"offLabel": "Sensed!", | ||
"offIcon": "fa6:solid:magnet", | ||
"onLabel": "No Magnet", | ||
"onIcon": "fa6:thin:magnet" | ||
} | ||
} | ||
"displayName": "Hall Effect Sensor", | ||
"published": true, | ||
"mode": "DIGITAL", | ||
"direction": "INPUT", | ||
"defaultPeriod":60, | ||
"selectPullUp": true, | ||
"visualization": { | ||
"type": "switch", | ||
"offLabel": "Sensed!", | ||
"offIcon": "fa6:solid:magnet", | ||
"onLabel": "No Magnet", | ||
"onIcon": "fa6:thin:magnet" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
{ | ||
"displayName": "LED", | ||
"published": true, | ||
"autoSelectString": "led", | ||
"mode": "DIGITAL", | ||
"direction": "OUTPUT", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"displayName": "Dimmable LED", | ||
"published": true, | ||
"pwmSetting": "fixedFrequency", | ||
"visualization": { | ||
"type": "slider-pwm" | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"displayName": "Piezo Buzzer", | ||
"published": true, | ||
"pwmSetting": "variableFrequency", | ||
"visualization": { | ||
"type": "switch-pwm", | ||
"offLabel": "Off", | ||
"offIcon": "fa6:regular:bell-slash", | ||
"onLabel": "On", | ||
"onIcon": "fa6:solid:bell-on" | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"displayName": "RGB LED", | ||
"pwmSetting": "fixedFrequency", | ||
"visualization": { | ||
"type": "color-picker" | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.