Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
133 changes: 121 additions & 12 deletions libs/brain-nrf52840/board.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,96 @@
"visual": {
"image": "pkg://board.svg",
"useCrocClips": false,
"width": 210,
"height": 151,
"width": 343,
"height": 172,
"pinDist": 15,
"pinBlocks": [],
"pinBlocks": [
{
"x": 85.19873566204326,
"y": 103.12977654517205,
"labels": [
"MISO"
]
},
{
"x": 97.11066907933298,
"y": 103.12977654517205,
"labels": [
"MOSI"
]
},
{
"x": 109.0226216503817,
"y": 103.12977654517205,
"labels": [
"SCK"
]
},
{
"x": 132.84646933120212,
"y": 103.12977654517205,
"labels": [
"GND"
]
},
{
"x": 144.7583261334558,
"y": 103.12977654517205,
"labels": [
"_3V"
]
},
{
"x": 156.67031701202254,
"y": 103.12977654517205,
"labels": [
"_5V"
]
},
{
"x": 168.58228873683026,
"y": 103.12977654517205,
"labels": [
"LIGHT_FAULT"
]
},
{
"x": 180.49414553908395,
"y": 103.12977654517205,
"labels": [
"LIGHT_PWR"
]
},
{
"x": 192.40642372403576,
"y": 103.12977654517205,
"labels": [
"VBAT"
]
}
,
{
"x": 205.40642372403576,
"y": 103.12977654517205,
"labels": [
"LED"
]
}
],
"leds": [
{
"x": 36.3439176372727,
"y": 27.592803376252533,
"w": 5.463899017361905,
"h": 4.714000572214601,
"x": 120.93449760639439,
"y": 103.12977654517205,
"w": 5.9999150086845265,
"h": 5.996997231091599,
"color": "neopixel",
"label": "NEOPIXEL"
},
{
"x": 98.93901029902648,
"y": 38.202999828947746,
"w": 5.463839601619682,
"h": 4.714004636228868,
"color": "#ff0000",
"label": "LED"
}
Expand All @@ -21,20 +101,49 @@
"buttons": []
},
"gpioPinMap": {
"MISO": "MISO",
"MOSI": "MOSI",
"SCK": "SCK",
"NEOPIXEL": "NEOPIXEL",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you need to specify which neopixel pin you want to be used

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The one named neopixel is ok. Doesn't really matter for this board.

"GND": "GND",
"_3V": "_3V",
"": "_5V",
"3V": "_3V",
"_5V": "_5V",
"5V": "_5V",
"LIGHT_FAULT": "LIGHT_FAULT",
"LIGHT": "LIGHT_PWR",
"FAULT": "LIGHT_FAULT",
"LIGHT_PWR": "LIGHT_PWR",
"PWR": "LIGHT_PWR",
"VBAT": "VBAT",
"LED": "LED"
},
"groundPins": [],
"threeVoltPins": [],
"fiveVoltPins": [],
"groundPins": [
"GND"
],
"threeVoltPins": [
"_3V"
],
"fiveVoltPins": [
"_5V"
],
"i2cPins": {
"SDA": "SDA",
"SCL": "SCL"
},
"onboardComponents": [],
"onboardComponents": [
"pixel"
],
"marginWhenBreadboarding": [
0,
0,
80,
0
]
],
"spiPins": {
"MOSI": "MOSI",
"MISO": "MISO",
"SCK": "SCK"
}
}
2 changes: 1 addition & 1 deletion libs/brain-nrf52840/board.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading