Jump to content

CARBr6

Member
  • Posts

    1
  • Joined

  • Last visited

About CARBr6

Standard Info

  • Name
    Gareth
  1. Hi, can anyone help me out with coding? I want to make a simplified version of this, I only wish to have one weapon option (so no need for the weapon selection controls) so only one LED colour (I'm going to use a few red LEDs to create a muzzle flash effect with three red dot laser diodes.) but I really like the magazine option, so I plan to have 5 green LEDs 3 yellow LEDs and then 2 red LEDs as an indicator, so I would want to keep those controls. So, I know exactly what I need to "tell" the arduino but I don't really know "how" to tell it as my programming knowledge isn't great. I need to tell the Arduino that when switched on, light up all 10 LEDs, then when the trigger switch it activated turn off one of the 10 LEDs and activate the muzzle flash LEDS and Laser for a period (not sure on time, but less than a second I would imagine) and play the blaster sound file, then once the trigger switch has been activated 10 times do not activate the muzzle flash LEDS and Laser, but play the blaster empty sound file, then once the "reset" (reload) switch is activated, revert back to switched on mode. Does that all make sense?
×
×
  • Create New...