migrating from original SamplerBox hardware
Started by hayesey




7 posts in this topic
noek

39 posts 0 threads Joined: Jan 2021
04-06-21, 22:08 -
#2
(03-06-21, 11:14)hayesey Wrote: I built my Samplerbox using the hardware from the original project

I have set: USE_I2C_7SEGMENTDISPLAY = True
but cannot see anywhere to define the I2C port and address for a 7segmentdisplay, only for HD44780 LCD.

I can't see where to configure 2 push button switches ..... a 7segment display since it wont show a menu system?

I am getting no sound, ...., I can investigate this myself.

Hi Hayesey,
Setting display parm to True should be enough, the 7-segment uses standard I2C with default values or so (quite frankly, I have no clue). Anyway, it's the same as in Joseph's, maybe Hans will comment?

For the buttons to be similar to Joseph's wiring, you have to set:
Code:
#  -- USE_BUTTONS -- ; A valid GPIO value will activate the button
BUT_incr=17    ; Increase button, increases value/proceeds to next menu choice
BUT_decr=18    ; Decrease button, opposite of above.
BUT_sel=xx
BUT_ret=xx
in the configuration.txt. Values there seem to refer to the "trial box" as Hans calls it.

7-segment cannot display the menu (see docs) for pure physical reasons and the two button menu setup starts with preset +/-, so I think what you (are trying to) do reflects Joseph's version, never tried....

For "no sound" there is a faq on the home page.

Good luck, Noek


Messages In This Thread
RE: migrating from original SamplerBox hardware - by noek - 04-06-21, 22:08