spenceraxani / CosmicWatch-Desktop-Muon-Detector

OUTDATED! Please do not use this repository for building new detectors. This repository if for the supplementary material used to build the Version 1 of the CosmicWatch Desktop Muon Detectors
59 stars 21 forks source link

Problems with Arduino Code #9

Open BeccaCampbell opened 6 years ago

BeccaCampbell commented 6 years ago

So I have downloaded the arduino coding program and followed the directions to install the specific libraries, but the code provided has "const byte LED" defined and then redefined in the next line, which the program doesn't like when compiling the code. I have tried several different ways of getting rid of this problem, but my arduino still doesn't seem to be communicating with the rest of the device (LED wont turn on, OLED wont turn on, and no counts are being received). I doubt this is my only problem, but it's the only one I can figure out.

Any insight would be greatly appreciated. Thanks!

mbanders commented 6 years ago

Created a pull request to fix the error: https://github.com/spenceraxani/CosmicWatch-Desktop-Muon-Detector/pull/10

spenceraxani commented 6 years ago

Hi,

It sounds like the constant variable was defined twice. I see that Mike Anderson removed the line, so it should work now.

Thanks,

Spencer

On Apr 5, 2018, at 2:29 PM, BeccaCampbell notifications@github.com wrote:

So I have downloaded the arduino coding program and followed the directions to install the specific libraries, but the code provided has "const byte LED" defined and then redefined in the next line, which the program doesn't like when compiling the code. I have tried several different ways of getting rid of this problem, but my arduino still doesn't seem to be communicating with the rest of the device (LED wont turn on, OLED wont turn on, and no counts are being received). I doubt this is my only problem, but it's the only one I can figure out.

Any insight would be greatly appreciated. Thanks!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/spenceraxani/CosmicWatch-Desktop-Muon-Detector/issues/9, or mute the thread https://github.com/notifications/unsubscribe-auth/ABpeu067ETfIkGlHvmDLU10LvrYDM6ytks5tlnCngaJpZM4TJB2x.

BeccaCampbell commented 6 years ago

Thank you.

I uploaded the corrected code but I still cant get anything to work, so I think I have larger problems at play, But I have no idea what it is at this point.

Thanks for your help. Becca