loading

Newby needs some help with arduino code for kids party

OK, I'm kinda new at the programming part for my projects. I was wondering if anyone can help me with (what I assume will be a simple code for a veteran) a code for arduino and maybe with a little explanation of the code. Project is simple. I have a toy laser gun shooting at a target with a photocell attached and connected to a relay. What I would like is that every time the relay switches, a counter adds the shot so I can keep score. It's for my son's 9th birthday party and I've already built the targeting range (with  Lego Movie theme) and even some servos to knock back guys down.  I just need a way to keep score. 

I have some Arduino Uno's, some nanos, some trinkets, some LCDs (2X16 and 4X8) and 4X 7segment displays so I have some options for parts,but at the moment I do not have a lot of time to go through a self-learning curve to get the coding to work.  Can anyone please help?  It would be greatly appreciated. Thanks.
.  

jim_20002 years ago

well, you can spend much time wiring up a LCD/LED and writing all the drive code. Look for a display with the driver/decoder circuitry built in such as the parallex 2x16 serial LCD that is sold a radio shack.

kjsrocks2 years ago

i would try ripping apart the sample programs to do what you want