Author Topic: 1708 Rapidfire RT Mod (arduino pro micro)  (Read 2841 times)

Offline zarzurt45

  • Guppy
  • *
  • Posts: 1
  • Post quality +0/-0
  • Gender: Male
  • Acidmods User
1708 Rapidfire RT Mod (arduino pro micro)
« on: November 30, 2018, 04:02:20 AM »



arduino pro micro 3.3v  clon 2-3$
A0----SY(TP18)
A3----RT(TP67)
RAW---PWR(TP11)
GND---GND(TP22)


Arduino Builder Code

Code: [Select]
int SY = A0;
int RT = A3;
int LED = 9;
int cool = 0;
bool active = false;
bool oldOn = false;

void setup() {
  pinMode(SY, INPUT);
  pinMode(RT, INPUT);
  pinMode(LED, OUTPUT);
  Serial.begin(9600);
}


void loop()
{


  int SYsig = analogRead(SY);
  Serial.println(SYsig);

  if (analogRead(SY) < 50 )
  {
    if (oldOn == false)
    {
      if (active == false)
      {
        active = true;
      }
      else
      {
        active = false;
      }
      oldOn = true;
      delay(500);
    }
  }
  else
  {
    oldOn = false;
  }


  pinMode(RT, INPUT);
  int sig = analogRead(RT);


 
  if (active == true)
  {
    pinMode(RT, OUTPUT);
    analogWrite(RT, 1000);
    delay(22);
    pinMode(RT, INPUT);
    delay(100);
  }


  if (active == true)
  {
    int chicken = 4;
  }


  else if (active == false)
  {
    pinMode(RT, INPUT);
  }
  else if (sig > 150 || sig == 0 && active == false)
  {
    pinMode(RT, INPUT);
  }
}

« Last Edit: November 30, 2018, 04:03:59 AM by zarzurt45 »

Offline SethMods

  • Registered BST
  • King of the Wii-tards
  • *
  • Posts: 189
  • Post quality +17/-1
  • Gender: Male
  • Acidmods User
Re: 1708 Rapidfire RT Mod (arduino pro micro)
« Reply #1 on: December 14, 2018, 09:17:41 AM »
??? int chicken = 4 ???

Offline Nathan36

  • Guppy
  • *
  • Posts: 1
  • Post quality +0/-0
  • Acidmods User
Re: 1708 Rapidfire RT Mod (arduino pro micro)
« Reply #2 on: May 13, 2020, 04:52:11 PM »
Is Akimbo rapid fire possible with arduino?

 

SMF spam blocked by CleanTalk
SimplePortal 2.3.5 © 2008-2012, SimplePortal