Skip to content

Commit

Permalink
add usb gui
Browse files Browse the repository at this point in the history
  • Loading branch information
HendrikMennen committed Aug 15, 2024
1 parent 559b438 commit 9ecd7aa
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions docs/studio/03-tutorials/05-add-hardware/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,19 @@ Creates an array of Pins, which makes it easier for multiple pins next to each o
| textColor | Default label text color as hex color code | string | "#FFFFFF" | |
| pins | Size for the label in pt | Pin[] | View below ||

### USB

Creates an usb control, that allows connecting RX and TX easily

| Property | Description | Type | Example | Required |
| ---------- | ------------------------------------------ | ------- | ---------- | -------- |
| x | X coordinate in px | double | 100 ||
| y | Y coordinate in px | double | 100 ||
| rotation | Angle to rotate in degree | double | 90 | |
| txBind | Pin for TX | string | "B6" | |
| rxBind | Pin for RX | double | "B6" | |
| flipLabel | Show label on right side | boolean | true | |

#### Example for an horizontal pinArray:

```json
Expand Down

0 comments on commit 9ecd7aa

Please sign in to comment.