Main > Lightguns
SAMCO DIY Arduino Powered IR Light Gun
<< < (22/37) > >>
samco:
Hi judokan, this might be caused by having an extra library in your libraries folder. Try and remove the AbMouse library and DFRobot Library if you have it as a stand alone libraries and only put one of the Samco libraries (either Samco_2IR or Samco_4IR) in your libraries folder.

Cheers Sam(co)
tomton:
Hi Samco,

This project is great! As soon as I saw it I started sourcing all the elements and finally was able to put it all together last night.
Uploaded your sketch successfully and new HID device appeared in the Device Manager (windows) but I don't see any output in the serial monitor window.

I have tried reuploading your sketch, restarting my PC and a few other things but no luck.

I have attached screenshot showing what I see after uploading your code.

Have you got any idea what could it be?


Thanks in advance,
Tom
kim_sama_999:
Awesome work  8) !!! I bought the pieces and the PCB to try out. I really like the 2 sensor bar option which makes the gun work better. If I have good luck with making it I would buy the new pieces and PCB and put it in a Namco arcade gun shell  ;D
samco:
Hi tomton, sorry for the late reply. Sometimes with the ItsyBitsy the Com Port can change when you upload a sketch so you could try changing your COM port before running the serial monitor. Opening the serial monitor is mainly just to check the sketch is running properly so alternatively you could just try and calibrate with it closed. Hope this helps let me know how ya go.
tomton:
Hi Samco,

Thanks for your reply.

I have spent more time with this today and tried to upload your sketch to Arduino nano and this produced loads of errors saying "error: 'AbsMouse' was not declared in this scope"
Weirdly I don't get those errors when uploading to ItsyBitsy  :dunno . I have tried redownloading AbsMouse but still getting those errors.

I have tried doing this on another PC but still no luck...   :banghead:

Any idea?
Navigation
Message Index
Next page
Previous page

Go to full version