# Rebuilding Arduino Code

**URL:** <https://forum.arduino.cc/t/rebuilding-arduino-code/1310650>\
**Category:** General Guidance\
**Created:** [October 12, 2024, 5:46pm UTC](https://forum.arduino.cc/t/rebuilding-arduino-code/1310650 "2024-10-12T17:46:23Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![poprocks66169](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/poprocks66169/32/1098630_2.png) [@poprocks66169](https://forum.arduino.cc/u/poprocks66169)\
**Post date:** [October 12, 2024, 5:46pm UTC](https://forum.arduino.cc/t/rebuilding-arduino-code/1310650/1 "2024-10-12T17:46:23Z")

</div>

We had this one licked, acts of Dog and life taketh a toll and the last working model left the building with Elvis. Its been 12 years since I figured this out with your help before, I can't find any of it. Maybe someone can point me in the right direction. We have two 12 position rotary switches (Inductors on one and capacitors on deother) physically tied to calibrated stepping motors, when prompted switch one stays stationary, two goes all twelve positions, one to position two, two goes its twelve - and so on, 144 combinations took maybe 3.6 seconds, (mechanics are my problem, always open to suggesting) all while 0-300 milliamps are being monitored by sensor, at the end the steppers take the switches to positions which resulted in the highest combination of sw1,2. Stop. I will post sketch if necessary - fyi this was designed to keep vacuum tubes at peak output. Grid dip would simply reverse part of the code from highest to lowest methinks. Thank you -

---

<div class="post-metadata">

**Author:** ![srnet](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/srnet/32/238868_2.png) [@srnet](https://forum.arduino.cc/u/srnet)\
**Post date:** [October 12, 2024, 5:54pm UTC](https://forum.arduino.cc/t/rebuilding-arduino-code/1310650/2 "2024-10-12T17:54:56Z")

</div>

> [@poprocks66169](#):
>
> I will post sketch if necessary

Is there a problem with the code now ?

If so describe the problem and post the code.

---

<div class="post-metadata">

**Author:** ![alto777](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/alto777/32/317385_2.png) [@alto777](https://forum.arduino.cc/u/alto777)\
**Post date:** [October 12, 2024, 6:04pm UTC](https://forum.arduino.cc/t/rebuilding-arduino-code/1310650/3 "2024-10-12T18:04:02Z")

</div>

> [@srnet](#):
>
> Is there a problem with the code now ?

He can't find any of it. Someone name Elvis may have a copy, not sure.

a7

---

<div class="post-metadata">

**Author:** ![xfpd](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/xfpd/32/1120236_2.png) [@xfpd](https://forum.arduino.cc/u/xfpd)\
**Post date:** [October 12, 2024, 9:52pm UTC](https://forum.arduino.cc/t/rebuilding-arduino-code/1310650/4 "2024-10-12T21:52:27Z")

</div>

> [@poprocks66169](#):
>
> Its been 12 years since I figured this out with your help

What was your username in 2012? FYI: Rules forbid multiple usernames... so once this is figured out, I suppose a lifetime ban is in order. : )

What happens in the case of a tie?

Were the twelve positions continuous through 360 degrees (every 30 degrees) or starting at 0 degrees and stopping at (for example) 270 degrees?

---

<div class="post-metadata">

**Author:** ![theeccentricgenius](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/theeccentricgenius/32/993275_2.png) [@theeccentricgenius](https://forum.arduino.cc/u/theeccentricgenius)\
**Post date:** [October 13, 2024, 12:03pm UTC](https://forum.arduino.cc/t/rebuilding-arduino-code/1310650/5 "2024-10-13T12:03:45Z")

</div>

> [@xfpd](#):
>
> What was your username in 2012? FYI: Rules forbid multiple usernames... so once this is figured out, I suppose a lifetime ban is in order. : )

I think he will get a choice on what account to keep and the other account will be closed for life.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [April 11, 2025, 12:04pm UTC](https://forum.arduino.cc/t/rebuilding-arduino-code/1310650/6 "2025-04-11T12:04:05Z")

</div>

Closed on April 11, 2025, 12:04pm UTC

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
