Skip to content
Open
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
18 changes: 0 additions & 18 deletions GNC255/Community/boards/mobiflight_GNC255_mega.board.json
Original file line number Diff line number Diff line change
Expand Up @@ -355,24 +355,6 @@
"isPWM": false,
"Pin": 49
},
{
"isAnalog": false,
"isI2C": false,
"isPWM": false,
"Pin": 50
},
{
"isAnalog": false,
"isI2C": false,
"isPWM": false,
"Pin": 51
},
{
"isAnalog": false,
"isI2C": false,
"isPWM": false,
"Pin": 52
},
{
"isAnalog": false,
"isI2C": false,
Expand Down
18 changes: 0 additions & 18 deletions GNC255/Community/boards/mobiflight_GNC255_pico.board.json
Original file line number Diff line number Diff line change
Expand Up @@ -145,30 +145,12 @@
"isPWM": true,
"Pin": 15
},
{
"isAnalog": false,
"isI2C": false,
"isPWM": true,
"Pin": 16
},
{
"isAnalog": false,
"isI2C": false,
"isPWM": true,
"Pin": 17
},
{
"isAnalog": false,
"isI2C": false,
"isPWM": true,
"Pin": 18
},
{
"isAnalog": false,
"isI2C": false,
"isPWM": true,
"Pin": 19
},
{
"isAnalog": false,
"isI2C": false,
Expand Down
2 changes: 0 additions & 2 deletions GNC255/Community/devices/mobiflight.gnc255.device.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
},
"Config": {
"Pins": [
"CLK",
"Data",
"CS",
"D/C",
"Reset"
Expand Down
4 changes: 0 additions & 4 deletions GNC255/MFCustomDevice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,6 @@ void MFCustomDevice::attach(int16_t adrPin, uint16_t adrType, uint16_t adrConfig
multiple devices, it is done here.
********************************************************************************************** */
params = strtok_r(parameter, "|", &p);
_clk = atoi(params);
params = strtok_r(NULL, "|", &p);
_data = atoi(params);
params = strtok_r(NULL, "|", &p);
_cs = atoi(params);
params = strtok_r(NULL, "|", &p);
_dc = atoi(params);
Expand Down
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,13 @@ Pico
* Data: Pin 19
* CS: Pin 17 for the first display, for more choose as you want
* Pin 16 can NOT be used for any other device

For both boards D/C and Reset can be choosen as you want.

For now these pins have to be defined within the connector to mark them as used. This will be changed later.
** Important Remark **
If you have already used this before, delete your config from the board before updating!
Once you have updated your board configure the display agin. CLK and Data pins must not be configured anymore as they are fixed (as before).
Also make sure to use the updated `mobiflight.gnc255.device.json` file.

Connect your display accordingly the above used pins. Depending on your display, you might need to adjust some
jumpers on the controller board to enable the SPI interface - below is one example of such display that works
Expand Down