-
Notifications
You must be signed in to change notification settings - Fork 43
Add New Display Component Type #277
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 4 commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
6095392
Add display component, magtag
brentru bde3c64
Fix filename
brentru d057927
Rsz magtag
brentru 88ed343
Add Feather TFTs
brentru ec0f8d7
Add FunHouse TFT
brentru 1a0082f
Make components reflect hardware instead of boards
brentru b9f1a87
Update schema too
brentru aede300
Reduce size
brentru 7716eb3
Require displayType
brentru File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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,17 @@ | ||
| { | ||
| "displayName": "MagTag E-Ink Display", | ||
| "vendor": "Adafruit", | ||
| "productURL": "https://www.adafruit.com/product/4800", | ||
| "documentationURL": "https://learn.adafruit.com/adafruit-magtag", | ||
| "published": false, | ||
| "description": "A 2.9\" black and white e-ink display onboard the Adafruit MagTag", | ||
| "displayType": { | ||
| "type": "epd", | ||
| "spiEpd": { | ||
| "bus": 0 | ||
| }, | ||
| "epdConfig": { | ||
| "mode": "mono" | ||
| } | ||
| } | ||
| } | ||
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions
19
components/display/rev-tft-esp32-s2-feather/definition.json
This file contains hidden or 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,19 @@ | ||
| { | ||
| "displayName": "ESP32-S2 Reverse TFT Feather", | ||
| "vendor": "Adafruit", | ||
| "productURL": "https://www.adafruit.com/product/5345", | ||
| "documentationURL": "https://learn.adafruit.com/esp32-s2-reverse-tft-feather", | ||
| "published": false, | ||
| "description": "1.14\" TFT on the Adafruit ESP32-S2 Reverse TFT Feather", | ||
| "displayType": { | ||
| "type": "tft", | ||
| "spiTft": { | ||
| "bus": 0 | ||
| }, | ||
| "tftConfig": { | ||
| "width": 135, | ||
| "height": 240, | ||
| "rotation": 3 | ||
| } | ||
| } | ||
| } |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions
19
components/display/rev-tft-esp32-s3-feather/definition.json
This file contains hidden or 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,19 @@ | ||
| { | ||
| "displayName": "ESP32-S3 Reverse TFT Feather", | ||
| "vendor": "Adafruit", | ||
| "productURL": "https://www.adafruit.com/product/5691", | ||
| "documentationURL": "https://learn.adafruit.com/esp32-s3-reverse-tft-feather", | ||
| "published": false, | ||
| "description": "1.14\" TFT on the Adafruit ESP32-S3 Reverse TFT Feather", | ||
| "displayType": { | ||
| "type": "tft", | ||
| "spiTft": { | ||
| "bus": 0 | ||
| }, | ||
| "tftConfig": { | ||
| "width": 135, | ||
| "height": 240, | ||
| "rotation": 3 | ||
| } | ||
| } | ||
| } |
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 hidden or 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,121 @@ | ||
| { | ||
| "title": "Display Component Definition", | ||
| "description": "A Display WipperSnapper component type for use in Adafruit IO", | ||
| "type": "object", | ||
| "required": [ | ||
| "displayName", | ||
| "vendor" | ||
brentru marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| ], | ||
| "additionalProperties": false, | ||
| "properties": { | ||
| "displayName": { | ||
| "description": "The human-friendly name of this component.", | ||
| "type": "string", | ||
| "minLength": 3, | ||
| "maxLength": 30 | ||
| }, | ||
| "published": { | ||
| "description": "If true, this component is supported by the current firmware version and will be displayed to all users. If false, it is hidden behind a developer toggle so that contributors can still work on it against the production site.", | ||
| "type": "boolean" | ||
| }, | ||
| "description": { | ||
| "description": "A brief description describing this component's capabilities.", | ||
| "type": "string", | ||
| "minLength": 3, | ||
| "maxLength": 255 | ||
| }, | ||
| "productURL": { | ||
| "description": "Link to this component's homepage.", | ||
| "type": "string", | ||
| "format": "uri" | ||
| }, | ||
| "documentationURL": { | ||
| "description": "Link to this component's documentation.", | ||
| "type": "string", | ||
| "format": "uri" | ||
| }, | ||
| "vendor": { | ||
| "description": "Name of the company that makes this component.", | ||
| "type": "string", | ||
| "minLength": 3, | ||
| "maxLength": 24 | ||
| }, | ||
| "displayType": { | ||
| "description": "Display configuration and type, maps to DisplayAddOrReplace", | ||
| "type": "object", | ||
| "required": [ | ||
| "type" | ||
| ], | ||
| "properties": { | ||
| "type": { | ||
| "description": "The type of display", | ||
| "type": "string", | ||
| "enum": [ | ||
| "unspecified", | ||
| "oled", | ||
brentru marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| "epd", | ||
| "tft" | ||
| ] | ||
| }, | ||
| "spiEpd": { | ||
| "description": "Optional EPD SPI configuration.", | ||
| "type": "object", | ||
| "properties": { | ||
| "bus": { | ||
| "type": "integer" | ||
| } | ||
| } | ||
| }, | ||
| "spiTft": { | ||
| "description": "Optional TFT SPI configuration.", | ||
| "type": "object", | ||
| "properties": { | ||
| "bus": { | ||
| "type": "integer" | ||
| } | ||
| } | ||
| }, | ||
| "epdConfig": { | ||
| "description": "Optional EPD Configuration", | ||
| "type": "object", | ||
| "required": [ | ||
| "mode" | ||
| ], | ||
| "properties": { | ||
| "mode": { | ||
| "type": "string", | ||
| "enum": [ | ||
| "unspecified", | ||
| "grayscale4", | ||
| "mono" | ||
| ] | ||
| } | ||
| } | ||
| }, | ||
| "tftConfig": { | ||
| "description": "Optional TFT Configuration", | ||
| "type": "object", | ||
| "required": [ | ||
| "width", | ||
| "height", | ||
| "rotation" | ||
| ], | ||
| "properties": { | ||
| "width": { | ||
| "type": "integer", | ||
| "minimum": 1 | ||
| }, | ||
| "height": { | ||
| "type": "integer", | ||
| "minimum": 1 | ||
| }, | ||
| "rotation": { | ||
| "type": "integer", | ||
| "enum": [0, 1, 2, 3] | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } | ||
This file contains hidden or 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,19 @@ | ||
| { | ||
| "displayName": "ESP32-S2 TFT Feather", | ||
| "vendor": "Adafruit", | ||
| "productURL": "https://www.adafruit.com/product/5300", | ||
| "documentationURL": "https://learn.adafruit.com/adafruit-esp32-s2-tft-feather", | ||
| "published": false, | ||
| "description": "1.14\" TFT on the Adafruit ESP32-S2 TFT Feather", | ||
| "displayType": { | ||
| "type": "tft", | ||
| "spiTft": { | ||
| "bus": 0 | ||
| }, | ||
| "tftConfig": { | ||
| "width": 135, | ||
| "height": 240, | ||
brentru marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| "rotation": 3 | ||
| } | ||
| } | ||
| } | ||
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 hidden or 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,19 @@ | ||
| { | ||
| "displayName": "ESP32-S3 TFT Feather", | ||
| "vendor": "Adafruit", | ||
| "productURL": "https://www.adafruit.com/product/5483", | ||
| "documentationURL": "https://learn.adafruit.com/adafruit-esp32-s3-tft-feather", | ||
| "published": false, | ||
| "description": "1.14\" TFT on the Adafruit ESP32-S3 TFT Feather", | ||
| "displayType": { | ||
| "type": "tft", | ||
| "spiTft": { | ||
| "bus": 0 | ||
| }, | ||
| "tftConfig": { | ||
| "width": 135, | ||
| "height": 240, | ||
| "rotation": 3 | ||
| } | ||
| } | ||
| } |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.