I did:
I see no mention of it. But you’re right, there is a collar.
I did:
I see no mention of it. But you’re right, there is a collar.
That’s so odd it’s not in the spec. I suppose it’s too normal these days. I remember in the late 70‘s everyday electronics mag had a big spread about all the things you could do with these new switches. There was even a schematic for a calculator.
Undocumented FEATURES
Ah, the Microsoft defence! It never gets old.
First one is Non-Shorting (BBM) “Break before Make”, second is Shorting (MBB) “Make Before Brake”. looks like you would be set either way then. Keep me in the loop if you notice any differences, as mentioned before when connecting the the duino, you anrt supposed to see much difference still good to know.
With an Arduino and break before make it’s possible in principle the Ard could try to read the switch between the break and the make, getting ill defined results.
With switch debouncing, you can iron out such transients.
Maybe a bit late in the discussion, but anyway: this casting ? HIGH : LOW
is not necessary. The compiler casts booleans and integer values 0 and 1 back and forth anyway.
The round brackets around Fill[1-6]
are superfluous, they do nothing.
The spaces between Sequence
and [1+BankArrayShift1][BankPush1 + NewKnobValue1]
are best left away. It is not customary to put spaces between a array name and the indices.
The Arduino folks changed the API to take an enum
instead of an int
, which (combined with C++11, I think) broke code passing in a bool
(that’s the entire point of this subthread, also see the github bug I linked to). The new enum has more than two values, so the “correct” way is to explicitly pass in HIGH
or LOW
if that’s what you want.
Ok, seems I stand corrected. I’ve been using them intermixed so far without any issues. Next time I will pay close attention to what happens if I do that. Is this a recent API change?
If you start at the top of the subthread, you’ll see that the error doesn’t always show up, e.g. it works just fine in the cloud IDE I used for my first test. The bug I linked to is from early 2019, but it refers to a bunch of other bugs so not sure exactly when things broke. A guess is that it’s the enum change + a compiler update (C++11? C++17?) that causes the breakage.
EDIT: Seems it depends on the core – compile for “Ardino Nano” in the cloud IDE and it works, compile for “Arduino Nano Every” and it breaks.
So far I’ve only worked locally with nano’s and wemos D1 devices. Those need different development environments (include files etc), so I’m familiar with the need to choose the correct core, otherwise you get a lot of preprocessor and compilation errors.
I’ve been trying to get this SOB working properly for a year now. Still the same issue.
I also left a dropbox folder with me wiring the shift, tempo, channel select, and big button controls. Comments under each picture tell what i’m doing. There’s also a video in there to explain what’s happening. I’d love to end this chapter in the diy synth career. Any help would be amazing.
What came out of @fredrik’s advice earlier?
Checking that you have the correct analogue inputs connected would also have been my first suggestion.
(Sorry if I missed your follow up.)
Thank you for this. I just finished building mine a couple of days ago and mine is not working. I noticed in your pics your clock input has a resistor…I dont have a resistor on my clock…this may be part of my issue!
Would everyone mind posting up pics of the back of their big button? I would like to see how everything is grounded and wired up. I am trying to figure out why mine is not working. Thanks!
So this thing is giving me all sorts of fits trying to build it. I decided that I would build part of it on a breadboard to just play around with it. I was able to get the output to send out a pulse but my big button don’t seem to work nor the shuffle and length. EEK! What version of code is everyone using? I found that there are several versions and was curious if anyone thinks one version is better than the other…Also, I am using this 6 position switch. https://www.amazon.com/gp/product/B018LXRW0I/ref=ppx_yo_dt_b_asin_title_o00_s01?ie=UTF8&psc=1 Any reason that this would not work?
i use the code in the Sam page for this built, and it work good
where do you find several code ?