Skip to main content
Mike Spivey's user avatar
Mike Spivey's user avatar
Mike Spivey's user avatar
Mike Spivey
  • Member for 8 years, 7 months
  • Last seen this week
comment
How to check 4 inputs and set flag in Microcontroller
Sorry if this is me going into teacher mode, but this program will translate into object code that's very similar to the OP's original program: the conditional expressions written with ? and : will generate jumping code just like the conditional statements written with if and else. A nice alternative, though.
revised
Loading…
comment
How to check 4 inputs and set flag in Microcontroller
With input 5, the original program has input1 = 1 and input2 = 0 (and input3 = 1), so the result is flag = 1. Swanand's program gives flag = 0 in that case. I'm not 100% sure this matters in the OP's situation, but the two programs do behave differently.
awarded
comment
How to check 4 inputs and set flag in Microcontroller
I would vote against my own answer if I could. Sadly, SE doesn't seem to appreciate the irony.
Loading…
comment
Plug from laptop AC adapter was broke
I am sure you will find that the cables have simple wires running from one end to the other, so that the voltage reaching your AC adapter is the same as the voltage coming out of the wall. This being the case, there is no difference between one cable and the other, and you can safely use the new cable to replace the old one.
awarded
answered
Loading…
revised
Loading…
Loading…
revised
Minimoog VCO analysis
added 4 characters in body
Loading…
answered
Loading…
revised
Minimoog VCO analysis
added 161 characters in body
Loading…
comment
Minimoog VCO analysis
Interesting idea, but (sorry to pull a trump card) that's not part of the circuit analyses I've read -- and not consistent with the 5 μA current labelling R30. I'll give a link in the question to an analysis.
comment
Minimoog VCO analysis
I'm sorry, FakeM, but by "that's not right," I meant, "that's a helpful suggestion, but it's inconsistent with what I understand about the rest of the circuit." And the problem is precisely that the information given on the circuit diagram seems inconsistent. I don't want to build it and then find it can't be tuned!
awarded
revised
Minimoog VCO analysis
further clarification
Loading…
revised
Minimoog VCO analysis
further clarification
Loading…
comment
Minimoog VCO analysis
That's not right. That node is the output of an op amp that sums the control voltages for the oscillator, and is normally a DC voltage that determines the frequency, increasing by 18-21 mV per octave. (18mV would be normal for an exponential pair at room temperature, but Q7 and Q8 are in an oven at about 80C, and 21 mV/oct is the right figure here.)