Skip to content

Commit

Permalink
#560 - increased pins for mega, uno and micro
Browse files Browse the repository at this point in the history
#526 - increased analog pins for mega, uno and micro
  • Loading branch information
DocMoebiuz committed Nov 24, 2021
1 parent f699f7e commit 461ef5e
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 13 deletions.
3 changes: 2 additions & 1 deletion Boards/arduino_mega.board.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@
"MaxSteppers": 10,
"MaxServos": 10,
"MaxLcdI2C": 2,
"MaxAnalogInputs": 5
"MaxAnalogInputs": 16,
"MaxShifters": 4
},
"Pins": [
{
Expand Down
15 changes: 8 additions & 7 deletions Boards/arduino_micro.board.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,15 @@
"MobiFlightType": "MobiFlight Micro"
},
"ModuleLimits": {
"MaxAnalogInputs": 5,
"MaxButtons": 16,
"MaxEncoders": 4,
"MaxLcdI2C": 2,
"MaxOutputs": 18,
"MaxButtons": 18,
"MaxLedSegments": 1,
"MaxOutputs": 10,
"MaxServos": 2,
"MaxSteppers": 2
"MaxEncoders": 5,
"MaxSteppers": 3,
"MaxServos": 3,
"MaxLcdI2C": 2,
"MaxAnalogInputs": 5,
"MaxShifters": 2
},
"Pins": [
{
Expand Down
11 changes: 6 additions & 5 deletions Boards/arduino_uno.board.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,15 @@
"MobiFlightType": "MobiFlight Uno"
},
"ModuleLimits": {
"MaxAnalogInputs": 2,
"MaxOutputs": 8,
"MaxButtons": 8,
"MaxEncoders": 2,
"MaxLcdI2C": 2,
"MaxLedSegments": 1,
"MaxOutputs": 8,
"MaxEncoders": 3,
"MaxSteppers": 2,
"MaxServos": 2,
"MaxSteppers": 2
"MaxLcdI2C": 2,
"MaxAnalogInputs": 3,
"MaxShifters": 2
},
"Pins": [
{
Expand Down
6 changes: 6 additions & 0 deletions Boards/mfboard.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,12 @@
"title": "Maxsteppers",
"description": "Maximum number of steppers supported by the board.",
"type": "integer"
},
"MaxShifters": {
"$id": "#root/ModuleLimits/MaxShifters",
"title": "Maxshifters",
"description": "Maximum number of output shift registers supported by the board.",
"type": "integer"
}
}
},
Expand Down

0 comments on commit 461ef5e

Please sign in to comment.