Skip to content
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

Add hardware configuration for Serdaco MP32L device #786

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

probonopd
Copy link
Owner

@probonopd probonopd commented Jan 7, 2025

#785 (reply in thread)

@BobanSpasic it would be great if you could test the configuration in this build.

Need to replace the default minidexed.ini in the root of the microSD card with the appropriate one from inside the hardware folder.

#785 (reply in thread)

@BobanSpasic it would be great if you could test the configuration in this build. 

Need to replace the default `minidexed.ini` in the root of the midiSD card with the appropriate one from inside the `hardware` folder.
@BobanSpasic
Copy link

Done more testing. Please correct the following lines:

SSD1306LCDRotate=1

LCDColumns=20

Copy link

github-actions bot commented Jan 7, 2025

Build for testing:
MiniDexed_2025-01-07-0d450e8
Use at your own risk.

Repository owner deleted a comment from github-actions bot Jan 7, 2025
@probonopd
Copy link
Owner Author

@logomancer maybe you can give this a try, too.
Need to replace the default minidexed.ini in the root of the microSD card with the appropriate one from inside the hardware folder.

@logomancer
Copy link

It's functional with the mt-32-pi hat, but if the hat is installed with the SH1106 and the corresponding buttons, the controls and display are rotated 180 degrees, and the display is blank on every other line (because it uses a 128x64 display instead of a 128x32). These can be fixed with config changes. Here are the changed lines I had:

# SSD1306 LCD
# For a 128x32 display, set LCDColumns=20; LCDRows=2
# For a 128x64 display, set LCDColumns=20; LCDRows=4
SSD1306LCDI2CAddress=0x3c
SSD1306LCDWidth=128
SSD1306LCDHeight=64
SSD1306LCDRotate=0
SSD1306LCDMirror=0

[...]

# Default is 16x2 display (e.g. HD44780)
LCDColumns=20
LCDRows=4

[...]

# GPIO Button Navigation
#  Any buttons set to 0 will be ignored
ButtonPinPrev=22
ButtonActionPrev=click
ButtonPinNext=23
ButtonActionNext=click
ButtonPinBack=27
ButtonActionBack=click  
ButtonPinSelect=17
ButtonActionSelect=click
ButtonPinHome=17
ButtonActionHome=longpress 
ButtonPinShortcut=0
# (Shortcut doesn't have an action)

@BobanSpasic
Copy link

BobanSpasic commented Jan 8, 2025

There is a minor thing - with this configuration, the encoder remains enabled, but MP32L doesn't have one.
I mean, it isn't something of a real issue, but it is also not needed.

As for the rest - this configuration works for me.

Copy link

github-actions bot commented Jan 8, 2025

Build for testing:
MiniDexed_2025-01-08-86a3401
Use at your own risk.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants