After searching for the component to the light gun cabinet components, I needed to search for the kind of coding would be needed to make the light gun idea work with the Arduino. Well for starters, the program must consist of an arrays and strings. This will allow the arduino to know the amount of targets that are on the screen. Next would be the Serial function. This function will allow the arduino to communicate between the computer and the device. This will allow the computer to indicate whether or not the device’s trigger or button is pressed and in which location in order to create a specific interaction. The next function the program needs is an if statement. The if statement will allow the arduino program to tell the device whether the button was pushed and in the right location to do a specific function if not to do that function. Each of these functions will be essential in order to make a light gun project work.
-
Recent Posts
Recent Comments
- Juan P. Correa on Aipek HD Digital Camcorder Tear Down Pictures
- Matthew on Lab Report UMAX Astra Pix 670
- Creed1011 on Lab Report
- Matthew on Blackberry Phone Examination.
- zohaib on Lab report – Samsung SGH-i6079/4/2014
Archives
Categories
Meta