spenceraxani / CosmicWatch-Desktop-Muon-Detector-v2

The CosmicWatch Desktop Muon Detector supplementary material
246 stars 76 forks source link

OLED.ino versus SDcard.ino loaded on Arduino Nano. #87

Closed JMulder99 closed 2 years ago

JMulder99 commented 2 years ago

Hi, I read the instruction manual and found the following:

Either the OLED.ino or the SDcard.ino code can be uploaded to the Arduino Nano.

Does this mean that if I want the screen to fuction, the SDcard won't function? Or vica versa, if I want data to be written to my SDcard, will the screen not function?

I noticed both programs used >50% storage during sketching.

spenceraxani commented 2 years ago

Hi,

Yes, the libraries for running the OLED and the SDCard are both too large to fit into the Arduino’s memory at the same time.

Thanks,

Spencer

On May 21, 2022, at 5:09 AM, Jelmer Mulder @.***> wrote:

Hi, I read the instruction manual and found the following:

Either the OLED.ino or the SDcard.ino code can be uploaded to the Arduino Nano.

Does this mean that if I want the screen to fuction, the SDcard won't function? Or vica versa, if I want data to be written to my SDcard, will the screen not function?

I noticed both programs used >50% storage during sketching.

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

jgOhYeah commented 2 years ago

Hello, A few years ago I managed to get some firmware working using smaller libraries that supported both the display and the sd card at the same time. See here if interested. I get the feeling that it is never far from a stack crash and I no longer have access to the actual hardware to test with, so use at your own risk :).